Class Bot
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.feature.player.Bot
-
Field Summary
Fields inherited from class com.zenith.module.api.ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetAttributeValue(AttributeType.Builtin attributeType, float defaultValue) doubledoubledoublegetEyeY()floatgetLocalAttributeValue(Attribute attribute, float defaultValue) voidvoidhandlePlayerPosRotate(int teleportId) voidvoidhandleSetMotion(double motionX, double motionY, double motionZ) voidsyncFromCache(boolean full) voidMethods inherited from class com.zenith.module.api.ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Constructor Details
-
Bot
public Bot()
-
-
Method Details
-
handlePlayerPosRotate
public void handlePlayerPosRotate(int teleportId) -
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
-