I'm having trouble making an item that scans enemy HP. This is my current code:
on right click on entity:
player is holding a book named "&2Scan"
player has 3 redstone
send "&dEnemy has &c%{clicked entity health}%/%{clicked entity max health}% &dhealth." to player
What am I doing wrong?
The message shows up as "Enemy has <none>/<none> health."
on right click on entity:
player is holding a book named "&2Scan"
player has 3 redstone
send "&dEnemy has &c%{clicked entity health}%/%{clicked entity max health}% &dhealth." to player
What am I doing wrong?
The message shows up as "Enemy has <none>/<none> health."