Started by
Nellie
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to create a new type of boots that would act like leather boots when walking on powdered snow, right now i can detect when the player steps on powdered snow but i dont have a way to prevent sinking... any help is appreciated
To make the armor resist freezing like leather armor, you can add it to the 'freeze_immune_wearables' tag.
The powder snow walking is a little bit trickier. Once you're finished with the armor you need to lock the mod element, and open the Java file. In the top section, where it lists all the imports, add this between any of them:
Then Find the part about the boots, and add this after the first @override. (Make sure it compiles correctly!)
Would that work for potion effects? I'm adding a potion effect that makes the player immune to freezing and I just managed to do that but I still need to make it so that the player can walk on Powder Snow when with the Effect.