Speed Ladder

Started by FoxCraft on

Topic category: Help with modding (Java Edition)

Last seen on 22:23, 5. Oct 2023
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Speed Ladder
Thu, 09/21/2023 - 18:08 (edited)
How i can change the speed to move up or down a new ladder? pls
Edited by FoxCraft on Thu, 09/21/2023 - 18:08
Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I looked into how other mods…
Fri, 09/22/2023 - 17:37

I looked into how other mods have accomplished this. There doesn't seem to be a built in way to do this. You would have to use the "attempt to override motion" block in a procedure, and override the Y velocity to a larger number when going up or a smaller number when going down.

You will have to determine whether the player is going up or down. In order to do this, set up a check for "

if block at x y z of player = ladder" do ["if y velocity of player is greater than 0" do [attempt to override motion [get x velocity of event/target entity][get x velocity of event/target entity + YourAmount] [get z velocity of event/target entity] "else if y velocity of player is less than 0" do [the same as above except negative/minus YourAmount]

Last seen on 22:23, 5. Oct 2023
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok , can you post a screen…
Sun, 10/01/2023 - 04:50

Ok , can you post a screen of the procedure pls ?