Started by
DevMan_Minecraft
on
Topic category: Help with Minecraft modding (Java Edition)
How can I make a fish mob that when you hit it with your barehand it burns you but, when you use anything but your hand it doesn't burn you?
Topic category: Help with Minecraft modding (Java Edition)
How can I make a fish mob that when you hit it with your barehand it burns you but, when you use anything but your hand it doesn't burn you?
can anyone help?
Put a procedure like this under the mob it's 'When entity is hurt'... statements... checks... :
ACtually that wont work with the 'provided entity' I believe that will set the fish itself on fire, but I might be wrong there.
That set's the enity on fire and not the player
Yep, was afraid of that happening (sadly cant test atm) but you can try this one:
You can then expand on it by adding a Else-statement in the nested If-statement to check for other items in hand.