Started by
Twebster9000
on
Topic category: Help with Minecraft modding (Java Edition)
I need help creating a condition.
This is what I have so far:
What I want to do is make it detect if a player is wearing a certain armor piece, so I can make my mob hostile to that player.
do you know how to detect player nearby?
you will able to do it with a procedure block.
detect player nearby and compare player's armor slot with armor items.
if player have armor, return true.
then use full of the procedure at entity AI block condition.
In the screenshot of my procedure I tried this, but was getting an error about the return logic blocks.
maybe try using the get event/target entity target block so it will check the entity its targeting for if they have the armour
like this https://imgur.com/a/fYFTqIs