Started by
FoxCraft
on
Topic category: Help with Minecraft modding (Java Edition)
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
Topic category: Help with Minecraft modding (Java Edition)
How i can change the speed to move up or down a new ladder? pls
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]
Ok , can you post a screen of the procedure pls ?
@Stitch147