Topic category: Help with modding (Java Edition)
so, i am making a mod that uses a global var named 'aether', its a number variable that is set by the global session.
the place where it doesent work is when it is meant to check if the var 'aether' is above 0 (but not 0), when this is met, it sets a item in a output slot of a gui. the item always appears in the gui, however the variable does not change, even when i have stated that in will change by -1.
so, i open the gui, and press a button, it then checks if it is next to a certain block. if that is it, then it will reduce the variable by 1 and add a item to the output slot, it works when checking if next to the block, it just doesent change the variable, it just ignores it entirely