Package net.minecraft.world.entity
Interface PlayerRideableJumping
- All Superinterfaces:
PlayerRideable
- All Known Implementing Classes:
AbstractChestedHorse,AbstractHorse,AbstractNautilus,Camel,CamelHusk,Donkey,Horse,Llama,Mule,Nautilus,SkeletonHorse,TraderLlama,ZombieHorse,ZombieNautilus
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanJump()default intdefault floatgetPlayerJumpPendingScale(int jumpPower) voidhandleStartJump(int jumpPower) voidvoidonPlayerJump(int jumpPower)
-
Method Details
-
onPlayerJump
void onPlayerJump(int jumpPower) -
canJump
boolean canJump() -
handleStartJump
void handleStartJump(int jumpPower) -
handleStopJump
void handleStopJump() -
getJumpCooldown
default int getJumpCooldown() -
getPlayerJumpPendingScale
default float getPlayerJumpPendingScale(int jumpPower)
-