Topic category: Help with modding (Java Edition)
I am trying to make a mod where I can inject a fuel into a helmet, and I can display the fuel level while the helmet is worn. I am trying to use NBT Tags to do this. I have declared in the injection procedure to set fuelLevel to 100, but when I go to call that anywhere else it isn't found. For example I want their to be natural seeping, and every tick I want to lose a fuel point, but it doesn't register the nbt tags.
Here is a video showing the procedures and the issue: