Change PLAYER_PERSISTENT as source entity

Started by Rhys6700 on

Topic category: Help with MCreator software

Last seen on 16:41, 23. Dec 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change PLAYER_PERSISTENT as source entity

Hi !
I try to add custom experience for jobs, here like hunter. My problem is that I created a procedure when 'entity dies', the player is the source entity, so if i add a number to my PLAYER_PERSISTENT xp variable, it doesn't work. I think i have to modify it for the source entity but i can't find how.
Thank you by advance for your answer :)

Last seen on 16:41, 23. Dec 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a way by using…
Fri, 12/18/2020 - 08:14

I found a way by using NBTTag and then call another procedur on Player tick update