Change PLAYER_PERSISTENT as source entity

Started by Rhys6700 on Fri, 12/18/2020 - 07:49

Topic category: Help with MCreator software

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Change PLAYER_PERSISTENT as source entity
Fri, 12/18/2020 - 07:49

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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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