Having a fish mob burn you how?

Started by DevMan_Minecraft on

Topic category: Help with modding (Java Edition)

Last seen on 20:43, 11. Feb 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Having a fish mob burn you how?

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?

Last seen on 20:43, 11. Feb 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can anyone help?
Wed, 01/29/2020 - 22:37

can anyone help?

Last seen on 17:41, 19. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  Put a procedure like this…
Thu, 01/30/2020 - 12:25

 

Put a procedure like this under the mob it's 'When entity is hurt'... statements... checks... :

 

Last seen on 17:41, 19. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ACtually that wont work with…
Thu, 01/30/2020 - 12:58

ACtually that wont work with the 'provided entity' I believe that will set the fish itself on fire, but I might be wrong there. 

Last seen on 20:43, 11. Feb 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That set's the enity on fire…
Fri, 01/31/2020 - 20:18

That set's the enity on fire and not the player

 

Last seen on 17:41, 19. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep, was afraid of that…
Mon, 02/03/2020 - 08:07

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.