Topic category: Help with modding (Java Edition)
Right now making in my mod boots, that will make you able to auto-jump.
I found this little script here:
entity.stepHeight = 1.0F;
Yeah, this works, but it's not setting back to 0.5F after undressing the boots and I can't figure how to make player set back step height to 0.5F again.
I already tried using "Every minecraft tick" make step height to 0.5F, but player everytime has 0.5F, even when with boots.
So, how to make player reset their step height back to 0.5F after undressing the boots?