Class Bot
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.feature.player.Bot
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final CollisionBoxstatic final CollisionBoxstatic final intFields inherited from class ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetAttributeValue(AttributeType.Builtin attributeType, float defaultValue) doubledoubledoublegetEyeY()floatgetLocalAttributeValue(Attribute attribute, float defaultValue) floatgetPitch()doublegetX()doublegetY()floatgetYaw()doublegetZ()voidvoidhandlePlayerPosRotate(int teleportId) voidvoidvoidhandleSetMotion(double motionX, double motionY, double motionZ) booleanbooleanbooleanbooleanbooleanvoidsyncFromCache(boolean full) voidMethods inherited from class ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Field Details
-
TICK_PRIORITY
public static final int TICK_PRIORITY- See Also:
-
POST_TICK_PRIORITY
public static final int POST_TICK_PRIORITY- See Also:
-
STANDING_COLLISION_BOX
-
SNEAKING_COLLISION_BOX
-
-
Constructor Details
-
Bot
public Bot()
-
-
Method Details
-
handlePlayerPosRotate
public void handlePlayerPosRotate(int teleportId) -
handlePlayerRotate
public void handlePlayerRotate() -
handleRespawn
public void handleRespawn() -
handleSetMotion
public void handleSetMotion(double motionX, double motionY, double motionZ) -
handleExplosion
-
syncFromCache
public void syncFromCache(boolean full) -
updateAttributes
public void updateAttributes() -
getAttributeValue
-
getLocalAttributeValue
-
getEyeY
public double getEyeY() -
getBlockReachDistance
public double getBlockReachDistance() -
getEntityInteractDistance
public double getEntityInteractDistance() -
blockPosition
-
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getYaw
public float getYaw() -
getPitch
public float getPitch() -
isOnGround
public boolean isOnGround() -
isSneaking
public boolean isSneaking() -
isTouchingWater
public boolean isTouchingWater() -
getVelocity
-
getPlayerCollisionBox
-
isHorizontalCollision
public boolean isHorizontalCollision() -
isVerticalCollision
public boolean isVerticalCollision() -
getInteractions
-