Class BedrockClimbingPhysics
java.lang.Object
com.viaversion.viafabricplus.bedrock.movement.BedrockClimbingPhysics
Target 1.26.51 climbing stages, before collision and after ordinary gravity.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doubleafterGravity(double verticalMotion, boolean horizontalCollision) static booleanapplies(net.minecraft.client.player.LocalPlayer player) static doublebeforeMovement(double verticalMotion, boolean jumping, boolean sneaking)
-
Method Details
-
applies
public static boolean applies(net.minecraft.client.player.LocalPlayer player) -
beforeMovement
public static double beforeMovement(double verticalMotion, boolean jumping, boolean sneaking) -
afterGravity
public static double afterGravity(double verticalMotion, boolean horizontalCollision)
-