Cant make a Global entity Variable

Started by melon_guy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cant make a Global entity Variable

Your are able to store an entity variable localy but not globaly and i need to do it globaly. This is because when I hit an entity with my custom weapon i want to track the distance of the entity from the player and I need the data from the enity in a script running every tick.