Started by
tbroski
on
Topic category: Advanced modding
This is regards to 'entity stored NBT' tags. Specifically, I want to show the value of an NBT tag in a GUI. However, I want the variable to be specific to the player and not to the server/world/map (global variables).
Simply, I want to show an 'entity stored NBT' to the player/entity without using global variables because that would inflict with other players, Right?
GLOBAL_SESSION will not conflict with other players as every player has their own instance of each GLOBAL_SESSION variable.
Oh great, thanks for the information!
Can I do this with NBT tag for blocks.
For exemple I am doing a mod with energy but I don't know how to set the energy NBT in a label text.
I am sure you could just try it out I guess. As long as you can set the NBT tag to a GLOBAL_SESSION variable I think it should we work.
I'm not to sure though
Thanks for the answer but if I put 2 redstone generator it will be strange because it is comming to bug because one variable wil be replaced by two NBT so it will bug.