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

Started by IdiotHere on

Topic category: Help with MCreator software

Active 1 year ago
Joined Jan 2024
Points:
146

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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
Active 7 months ago
Joined Oct 2023
Points:
315

User statistics:

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

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

Active 1 year ago
Joined Jan 2024
Points:
146

User statistics:

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

Ok thanks!

Active 7 months ago
Joined Oct 2023
Points:
315

User statistics:

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

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