How to have a global variable entity?

Started by Rizzard on

Topic category: Help with MCreator software

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to have a global variable entity?

In my wait block, i can't use Local var, so i need to store my entity in a global var but there is no entity var type, how can i do that? https://imgur.com/a/yjLbsLK

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What you are looking for is…
Wed, 02/05/2025 - 21:03

What you are looking for is the "nbt data". You can set this using the NBT tag blocks.

 

These will function as you want them to, you can give the entity an nbt tag which can be read and modified by MCreator's procedures.

 

Just remember to name it all properly.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nasıl ntb kurulur?
Sun, 02/09/2025 - 10:50

nasıl ntb kurulur?

NBT procedure block location