Started by
GeoMetri
on
Topic category: Help with Minecraft modding (Java Edition)
If Slot 2 = "Ice" and Get NBT tag "Liquid" <= 15000
Remove 1 item from Slot 2
NBT tag "Liquid" += 1
Return Text ("Liquid: " + NBT tag "Liquid")
The Value doesn't update yet still deletes all the ice.
Well, It deletes all the ice, and then doesen't update because you don't have ice anymore, you wrote Liquid+=1 inside the if that checks if you have ice
But the NBT isn't updated when the ice gets removed
And the GUI glitches
What value does It have After the ice gets removed?
The text shows 0 and The GUI in slot 2 doesn't show the ice but I can grab it.
I fixed it
Alright