Started by
themodman
on
Topic category: Help with Minecraft modding (Java Edition)
So what happened is that I wanted a different model to replace the helmet that the player is already wearing, so I made global variable:open and set it to logic. Then from the advise of @QB he told me how to replace it. So as you can see, I did that with the execute command block. But to change it back I used the variable to change when a key is pressed to true or false. But this procedure doesn't seem to work in-game when I press the key. Help!
try using "if"+"else" block instead of 2 "if"s
@ahznb is right you need to use if else here, what your doing is checking true and setting false then checking false in the same trigger after you set it false so it will now do the false option.
This will in return feel like it's not doing anything or dual triggering
Thanks guys but I found another way to do this. Thanks for you help anyway!!!