Class Bot
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.feature.player.Bot
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableMap<Pose, EntityDimensions> static final intstatic final intFields inherited from class ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabsMoveTo(double x, double y, double z) booleanfloatgetAttributeValue(AttributeType.Builtin attributeType, float defaultValue) doublegetCollisionBox(Pose pose) getEntityDimensions(Pose pose) doubledoublegetEyeY()floatgetLocalAttributeValue(Attribute attribute, float defaultValue) floatgetPitch()getPose()doublegetX()doublegetY()floatgetYaw()doublegetZ()voidvoidhandlePlayerPosRotate(int teleportId) voidvoidvoidhandleSetMotion(double motionX, double motionY, double motionZ) booleanbooleanbooleanbooleanbooleanbooleanisSupportedBy(BlockPos pos) booleanbooleanbooleanbooleanvoidmoveByPiston(MutableVec3d movement) voidvoidsyncFromCache(boolean full) voidMethods inherited from class ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, executeCommand, 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:
-
poseDimensions
-
-
Constructor Details
-
Bot
public Bot()
-
-
Method Details
-
getCollisionBox
-
getEntityDimensions
-
handlePlayerPosRotate
public void handlePlayerPosRotate(int teleportId) -
handlePlayerRotate
public void handlePlayerRotate() -
handleRespawn
public void handleRespawn() -
canBePushedByPistons
public boolean canBePushedByPistons() -
moveByPiston
-
isSupportedBy
-
handleSetMotion
public void handleSetMotion(double motionX, double motionY, double motionZ) -
handleExplosion
-
syncFromCache
public void syncFromCache(boolean full) -
updateAttributes
public void updateAttributes() -
getAttributeValue
-
getLocalAttributeValue
-
onUpdateAbilities
public void onUpdateAbilities() -
getEyeY
public double getEyeY() -
absMoveTo
public void absMoveTo(double x, double y, double z) -
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() -
getPose
-
isSneaking
public boolean isSneaking() -
isSprinting
public boolean isSprinting() -
isFallFlying
public boolean isFallFlying() -
isSwimming
public boolean isSwimming() -
isTouchingWater
public boolean isTouchingWater() -
isTouchingLava
public boolean isTouchingLava() -
getVelocity
-
getPlayerCollisionBox
-
getSupportingBlockPos
-
isHorizontalCollision
public boolean isHorizontalCollision() -
isVerticalCollision
public boolean isVerticalCollision() -
getInteractions
-