Started by
TacoMiner87
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a machine that generates power and I want to make it so that when you look at it, an overlay appears showing how much power the machine is storing, I know how to make the overlay appear when you look at the block, but is there a way to display a variable?
Yes, just select the variable from the dropdown when adding a text label. Keep in mind that there are some issues with variables and overlays that will be fixed in 1.9.1.
Ok, I assume you have to use global variables for this, but I can't figure out how to make a global variable.
In the workspace tab, there is a side tab Global variables. Add it there.
Ohhh, thank you so much I had looked everywhere. Looking forward to 1.9.1
You are welcome!