How do you tell the procedures that the entity is a player?

Started by IdiotHere on

Topic category: Help with MCreator software

Last seen on 12:53, 19. Feb 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you tell the procedures that the entity is a player?
Sat, 01/27/2024 - 21:52 (edited)

So I'm making an enchantment that when a helmet with this enchant is being worn by a player, they have night vision until either the helmet is taken off, or the helmet breaks. But, it won't work because the "element's don't compile correctly". My only guess is that it needs to know what entity is being effected. So how would I tell it that said entity is a player?

Edited by IdiotHere on Sat, 01/27/2024 - 21:52
Last seen on 09:30, 17. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Press the play button on the…
Mon, 01/22/2024 - 14:54

Press the play button on the top right. Have fun modding!

Last seen on 12:53, 19. Feb 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks!
Mon, 01/22/2024 - 17:50

Ok thanks!

Last seen on 09:30, 17. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem! Let me know if…
Mon, 01/22/2024 - 18:49

No problem! Let me know if you need more help!