EntityPlayerSP
The player entity
Getting the player entity.
'tick': function() {
player = mc.getPlayer()
player.jump()
player.swingItem()
}setX(double x): void
setX(double x): voidsetY(double x): void
setY(double x): voidsetZ(double x): void
setZ(double x): voidsetPitch(float pitch): void
setPitch(float pitch): voidsetYaw(float yaw): void
setYaw(float yaw): voidsetLastPitch(float pitch): void
setLastPitch(float pitch): voidsetLastYaw(float yaw): void
setLastYaw(float yaw): voidsetMotionX(double motionX): void
setMotionX(double motionX): voidsetMotionY(double motionY): void
setMotionY(double motionY): voidsetMotionZ(double motionZ): void
setMotionZ(double motionZ): voidgetForward(): float
getForward(): floatgetStrafe(): float
getStrafe(): floatisUsingItem(): boolean
isUsingItem(): booleanswingItem(): void
swingItem(): voidsendChatMessage(String message): void
sendChatMessage(String message): voidjump(): void
jump(): voidisSneaking(): boolean
isSneaking(): booleansetSneaking(boolean sneak): void
setSneaking(boolean sneak): voidisSprinting(): boolean
isSprinting(): booleansetSprinting(boolean sprint): void
setSprinting(boolean sprint): voidLast updated