Cant make a Global entity Variable

Started by melon_guy on

Topic category: Help with Minecraft modding (Java Edition)

Active 8 months ago
Joined Dec 2024
Points:
44

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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.