Auto-Jump boots.

Started by _Vitjok_ on Fri, 03/02/2018 - 18:08

Topic category: Help with modding (Java Edition)

Last seen on 14:30, 26. Aug 2018
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Auto-Jump boots.
Fri, 03/02/2018 - 18:08

Hey there!

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?

Last seen on 15:27, 21. Aug 2020
Joined Dec 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't think you can…
Sun, 03/18/2018 - 21:03

I don't think you can because there's no button that says "when X taken off".