How can I make myself blind every time I look at the custom mob?

Started by Canguru Amazônico on Sat, 11/21/2020 - 16:45

Topic category: Help with modding (Java Edition)

Last seen on 18:45, 29. Nov 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make myself blind every time I look at the custom mob?
Sat, 11/21/2020 - 16:45

 Guys, I created a new mob in minecraft and I wanted that every time the player looks at this mob, he is blind for 10 seconds, like when you look at the enderman and he attacks you, can someone help me?

PS: Mob has a customized model too, it was on BlockBench

Last seen on 18:04, 24. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Raytrace player look at…
Sat, 11/21/2020 - 17:41

Raytrace player look at position and apply blindness potion if enderman is at the given location.

Last seen on 18:45, 29. Nov 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Could you do that in the…
Sat, 11/21/2020 - 17:57

Could you do that in the Procedure and send me a photo?