public class ClientPlayerEntity extends AbstractClientPlayerEntity
PlayerEntity.SleepResult
Entity.IMoveCallback
Modifier and Type | Field and Description |
---|---|
private java.util.List<IAmbientSoundHandler> |
ambientSoundHandlers |
private boolean |
autoJumpEnabled |
private int |
autoJumpTime |
ClientPlayNetHandler |
connection |
private boolean |
crouching |
private boolean |
flashOnSetHealth |
private boolean |
handsBusy |
MovementInput |
input |
private float |
jumpRidingScale |
private int |
jumpRidingTicks |
private boolean |
lastOnGround |
protected Minecraft |
minecraft |
float |
oPortalTime |
private int |
permissionLevel |
float |
portalTime |
private int |
positionReminder |
private ClientRecipeBook |
recipeBook |
private java.lang.String |
serverBrand |
private boolean |
showDeathScreen |
int |
sprintTime |
protected int |
sprintTriggerTime |
private boolean |
startedUsingItem |
private StatisticsManager |
stats |
private Hand |
usingItemHand |
private boolean |
wasFallFlying |
private boolean |
wasShiftKeyDown |
private boolean |
wasSprinting |
private int |
waterVisionTime |
float |
xBob |
float |
xBobO |
private double |
xLast |
private float |
xRotLast |
float |
yBob |
float |
yBobO |
private double |
yLast1 |
private float |
yRotLast |
private double |
zLast |
clientLevel, elytraRotX, elytraRotY, elytraRotZ
abilities, bob, containerMenu, DATA_PLAYER_MAIN_HAND, DATA_PLAYER_MODE_CUSTOMISATION, DATA_SHOULDER_LEFT, DATA_SHOULDER_RIGHT, defaultFlySpeed, enchantmentSeed, enderChestInventory, experienceLevel, experienceProgress, fishing, foodData, inventory, inventoryMenu, jumpTriggerTime, oBob, PERSISTED_NBT_TAG, STANDING_DIMENSIONS, takeXpDelay, totalExperience, wasUnderwater, xCloak, xCloakO, yCloak, yCloakO, zCloak, zCloakO
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
NULL
Constructor and Description |
---|
ClientPlayerEntity(Minecraft p_i232461_1_,
ClientWorld p_i232461_2_,
ClientPlayNetHandler p_i232461_3_,
StatisticsManager p_i232461_4_,
ClientRecipeBook p_i232461_5_,
boolean p_i232461_6_,
boolean p_i232461_7_) |
Modifier and Type | Method and Description |
---|---|
protected void |
actuallyHurt(DamageSource p_70665_1_,
float p_70665_2_) |
void |
aiStep() |
private boolean |
canAutoJump() |
boolean |
canSpawnSoulSpeedParticle() |
boolean |
canSpawnSprintParticle() |
void |
chat(java.lang.String p_71165_1_) |
void |
clientSideCloseContainer() |
void |
closeContainer() |
void |
crit(Entity p_71009_1_) |
void |
displayClientMessage(ITextComponent p_146105_1_,
boolean p_146105_2_) |
boolean |
drop(boolean p_225609_1_) |
float |
getCurrentMood() |
float |
getJumpRidingScale() |
protected int |
getPermissionLevel() |
ClientRecipeBook |
getRecipeBook() |
Vector3d |
getRopeHoldPosition(float p_241843_1_) |
java.lang.String |
getServerBrand() |
StatisticsManager |
getStats() |
Hand |
getUsedItemHand() |
float |
getViewXRot(float p_195050_1_) |
float |
getViewYRot(float p_195046_1_) |
float |
getWaterVision() |
void |
handleEntityEvent(byte p_70103_1_) |
private void |
handleNetherPortalClient() |
private boolean |
hasEnoughImpulseToStartSprinting() |
void |
heal(float p_70691_1_) |
boolean |
hurt(DamageSource p_70097_1_,
float p_70097_2_) |
void |
hurtTo(float p_71150_1_) |
boolean |
isAutoJumpEnabled() |
protected boolean |
isControlledCamera() |
boolean |
isCrouching() |
boolean |
isEffectiveAi() |
boolean |
isHandsBusy() |
boolean |
isLocalPlayer() |
private boolean |
isMoving() |
boolean |
isMovingSlowly() |
boolean |
isRidingJumpable() |
boolean |
isShiftKeyDown() |
boolean |
isSuppressingSlidingDownLadder() |
boolean |
isUnderWater() |
boolean |
isUsingItem() |
void |
magicCrit(Entity p_71047_1_) |
void |
move(MoverType p_213315_1_,
Vector3d p_213315_2_) |
private void |
moveTowardsClosestSpace(double p_244389_1_,
double p_244389_3_) |
void |
onSyncedDataUpdated(DataParameter<?> p_184206_1_) |
void |
onUpdateAbilities() |
void |
openCommandBlock(CommandBlockTileEntity p_184824_1_) |
void |
openItemGui(ItemStack p_184814_1_,
Hand p_184814_2_) |
void |
openJigsawBlock(JigsawTileEntity p_213826_1_) |
void |
openMinecartCommandBlock(CommandBlockLogic p_184809_1_) |
void |
openStructureBlock(StructureBlockTileEntity p_189807_1_) |
void |
openTextEdit(SignTileEntity p_175141_1_) |
void |
playNotifySound(SoundEvent p_213823_1_,
SoundCategory p_213823_2_,
float p_213823_3_,
float p_213823_4_) |
void |
playSound(SoundEvent p_184185_1_,
float p_184185_2_,
float p_184185_3_) |
EffectInstance |
removeEffectNoUpdate(Effect p_184596_1_) |
void |
removeRecipeHighlight(IRecipe<?> p_193103_1_) |
void |
removeVehicle() |
void |
respawn() |
void |
rideTick() |
void |
sendMessage(ITextComponent p_145747_1_,
java.util.UUID p_145747_2_) |
void |
sendOpenInventory() |
private void |
sendPosition() |
protected void |
sendRidingJump() |
void |
serverAiStep() |
void |
setExperienceValues(float p_71152_1_,
int p_71152_2_,
int p_71152_3_) |
void |
setPermissionLevel(int p_184839_1_) |
void |
setServerBrand(java.lang.String p_175158_1_) |
void |
setShowDeathScreen(boolean p_228355_1_) |
void |
setSprinting(boolean p_70031_1_) |
boolean |
shouldShowDeathScreen() |
boolean |
startRiding(Entity p_184205_1_,
boolean p_184205_2_) |
void |
startUsingItem(Hand p_184598_1_) |
void |
stopUsingItem() |
private boolean |
suffocatesAt(BlockPos p_205027_1_) |
void |
swing(Hand p_184609_1_) |
void |
tick() |
protected void |
updateAutoJump(float p_189810_1_,
float p_189810_2_) |
protected boolean |
updateIsUnderwater() |
void |
updateSyncFields(ClientPlayerEntity old) |
getCloakTextureLocation, getElytraTextureLocation, getFieldOfViewModifier, getModelName, getPlayerInfo, getSkinLocation, getSkinTextureLocation, isCapeLoaded, isCreative, isElytraLoaded, isSkinLoaded, isSpectator, registerSkinTexture
addAdditionalSaveData, addItem, attack, awardRecipes, awardRecipesByKey, awardStat, awardStat, awardStat, awardStat, blockActionRestricted, blockUsingShield, canEat, canHarmPlayer, canTakeItem, canUseGameMasterBlocks, causeFallDamage, causeFoodExhaustion, checkMovementStatistics, createAttributes, createItemCooldowns, createPlayerUUID, createPlayerUUID, defineSynchedData, destroyVanishingCursedItems, die, disableShield, doAutoAttackOnTouch, doWaterSplashEffect, drop, drop, dropEquipment, eat, findRespawnPositionAndUseSpawnBlock, freeAt, getAbsorptionAmount, getArmorSlots, getAttackStrengthScale, getBlockSpeedFactor, getCapability, getCooldowns, getCurrentItemAttackStrengthDelay, getDeathSound, getDestroySpeed, getDigSpeed, getDimensionChangingDelay, getDimensions, getDismountPoses, getDisplayName, getEnchantmentSeed, getEnderChestInventory, getExperienceReward, getFallDamageSound, getFireImmuneTicks, getFoodData, getForcedPose, getGameProfile, getHandSlots, getHurtSound, getItemBySlot, getLuck, getMainArm, getMyRidingOffset, getName, getPortalWaitTime, getPrefixes, getProjectile, getScore, getScoreboard, getScoreboardName, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundSource, getSpeed, getStandingEyeHeight, getSuffixes, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getXpNeededForNextLevel, giveExperienceLevels, giveExperiencePoints, hasCorrectToolForDrops, hurtArmor, hurtCurrentlyUsedShield, increaseScore, interactOn, isAffectedByFluids, isAlwaysExperienceDropper, isHurt, isImmobile, isInvulnerableTo, isModelPartShown, isMovementNoisy, isPushedByFluid, isReducedDebugInfo, isSecondaryUseActive, isSleepingLongEnough, isStayingOnGroundSurface, isSwimming, jumpFromGround, killed, makeStuckInBlock, maybeBackOffFromEdge, mayBuild, mayUseItemAt, onEnchantmentPerformed, onSoulSpeedBlock, openHorseInventory, openMenu, readAdditionalSaveData, refreshDisplayName, remove, removeEntitiesOnShoulder, resetAttackStrengthTicker, resetPos, resetRecipes, resetStat, sendMerchantOffers, setAbsorptionAmount, setEntityOnShoulder, setForcedPose, setGameMode, setItemSlot, setMainArm, setReducedDebugInfo, setRemainingFireTicks, setScore, setShoulderEntityLeft, setShoulderEntityRight, setSlot, shouldRemoveSoulSpeed, shouldShowName, startFallFlying, startSleepInBed, stopFallFlying, stopSleepInBed, stopSleeping, sweepAttack, travel, tryToStartFallFlying, updatePlayerPose, updateSwimming, wantsToStopRiding
addEffect, animateHurt, areAllEffectsAmbient, attackable, baseTick, blockedByShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBreatheUnderwater, canSee, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createLootContext, createWitherRose, curePotionEffects, decreaseAirSupply, doHurtTarget, doPush, dropAllDeathLoot, dropCustomDeathLoot, dropExperience, dropFromLootTable, forceAddEffect, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getStingerCount, getSwimAmount, getTicksUsingItem, getUseItem, getUseItemRemainingTicks, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, increaseAirSupply, invalidateCaps, isAffectedByPotions, isAlive, isAutoSpinAttack, isBaby, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isVisuallySwimming, jumpInLiquid, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, outOfWorld, playBlockFallSound, playEquipSound, playHurtSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSpeed, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRiderFaceForward, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, stopRiding, swing, take, tickDeath, tickEffects, tickHeadTurn, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDirection, getDismountLocationForPassenger, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPersistentData, getPickRadius, getPistonPushReaction, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRotationVector, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isSilent, isSprinting, isSteppingCarefully, isSuppressingBounce, isVehicle, isVisuallyCrawling, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, mirror, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, removeAfterChangingDimensions, removePassenger, removeTag, repositionEntityAfterLoad, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
getCapability
public final ClientPlayNetHandler connection
private final StatisticsManager stats
private final ClientRecipeBook recipeBook
private final java.util.List<IAmbientSoundHandler> ambientSoundHandlers
private int permissionLevel
private double xLast
private double yLast1
private double zLast
private float yRotLast
private float xRotLast
private boolean lastOnGround
private boolean crouching
private boolean wasShiftKeyDown
private boolean wasSprinting
private int positionReminder
private boolean flashOnSetHealth
private java.lang.String serverBrand
public MovementInput input
protected final Minecraft minecraft
protected int sprintTriggerTime
public int sprintTime
public float yBob
public float xBob
public float yBobO
public float xBobO
private int jumpRidingTicks
private float jumpRidingScale
public float portalTime
public float oPortalTime
private boolean startedUsingItem
private Hand usingItemHand
private boolean handsBusy
private boolean autoJumpEnabled
private int autoJumpTime
private boolean wasFallFlying
private int waterVisionTime
private boolean showDeathScreen
public ClientPlayerEntity(Minecraft p_i232461_1_, ClientWorld p_i232461_2_, ClientPlayNetHandler p_i232461_3_, StatisticsManager p_i232461_4_, ClientRecipeBook p_i232461_5_, boolean p_i232461_6_, boolean p_i232461_7_)
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
hurt
in class PlayerEntity
public void heal(float p_70691_1_)
heal
in class LivingEntity
public boolean startRiding(Entity p_184205_1_, boolean p_184205_2_)
startRiding
in class Entity
public void removeVehicle()
removeVehicle
in class PlayerEntity
public float getViewXRot(float p_195050_1_)
getViewXRot
in class Entity
public float getViewYRot(float p_195046_1_)
getViewYRot
in class LivingEntity
public void tick()
tick
in class PlayerEntity
public float getCurrentMood()
private void sendPosition()
public boolean drop(boolean p_225609_1_)
drop
in class PlayerEntity
public void chat(java.lang.String p_71165_1_)
public void swing(Hand p_184609_1_)
swing
in class LivingEntity
public void respawn()
respawn
in class PlayerEntity
protected void actuallyHurt(DamageSource p_70665_1_, float p_70665_2_)
actuallyHurt
in class PlayerEntity
public void closeContainer()
closeContainer
in class PlayerEntity
public void clientSideCloseContainer()
public void hurtTo(float p_71150_1_)
public void onUpdateAbilities()
onUpdateAbilities
in class PlayerEntity
public boolean isLocalPlayer()
isLocalPlayer
in class PlayerEntity
public boolean isSuppressingSlidingDownLadder()
isSuppressingSlidingDownLadder
in class LivingEntity
public boolean canSpawnSprintParticle()
canSpawnSprintParticle
in class Entity
public boolean canSpawnSoulSpeedParticle()
canSpawnSoulSpeedParticle
in class LivingEntity
protected void sendRidingJump()
public void sendOpenInventory()
public void setServerBrand(java.lang.String p_175158_1_)
public java.lang.String getServerBrand()
public StatisticsManager getStats()
public ClientRecipeBook getRecipeBook()
public void removeRecipeHighlight(IRecipe<?> p_193103_1_)
protected int getPermissionLevel()
getPermissionLevel
in class Entity
public void setPermissionLevel(int p_184839_1_)
public void displayClientMessage(ITextComponent p_146105_1_, boolean p_146105_2_)
displayClientMessage
in class PlayerEntity
private void moveTowardsClosestSpace(double p_244389_1_, double p_244389_3_)
private boolean suffocatesAt(BlockPos p_205027_1_)
public void setSprinting(boolean p_70031_1_)
setSprinting
in class LivingEntity
public void setExperienceValues(float p_71152_1_, int p_71152_2_, int p_71152_3_)
public void sendMessage(ITextComponent p_145747_1_, java.util.UUID p_145747_2_)
sendMessage
in interface ICommandSource
sendMessage
in class Entity
public void handleEntityEvent(byte p_70103_1_)
handleEntityEvent
in class PlayerEntity
public void setShowDeathScreen(boolean p_228355_1_)
public boolean shouldShowDeathScreen()
public void playSound(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_)
playSound
in class PlayerEntity
public void playNotifySound(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_)
playNotifySound
in class PlayerEntity
public boolean isEffectiveAi()
isEffectiveAi
in class LivingEntity
public void startUsingItem(Hand p_184598_1_)
startUsingItem
in class LivingEntity
public boolean isUsingItem()
isUsingItem
in class LivingEntity
public void stopUsingItem()
stopUsingItem
in class LivingEntity
public Hand getUsedItemHand()
getUsedItemHand
in class LivingEntity
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
onSyncedDataUpdated
in class LivingEntity
public boolean isRidingJumpable()
public float getJumpRidingScale()
public void openTextEdit(SignTileEntity p_175141_1_)
openTextEdit
in class PlayerEntity
public void openMinecartCommandBlock(CommandBlockLogic p_184809_1_)
openMinecartCommandBlock
in class PlayerEntity
public void openCommandBlock(CommandBlockTileEntity p_184824_1_)
openCommandBlock
in class PlayerEntity
public void openStructureBlock(StructureBlockTileEntity p_189807_1_)
openStructureBlock
in class PlayerEntity
public void openJigsawBlock(JigsawTileEntity p_213826_1_)
openJigsawBlock
in class PlayerEntity
public void openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
openItemGui
in class PlayerEntity
public void crit(Entity p_71009_1_)
crit
in class PlayerEntity
public void magicCrit(Entity p_71047_1_)
magicCrit
in class PlayerEntity
public boolean isShiftKeyDown()
isShiftKeyDown
in class Entity
public boolean isCrouching()
isCrouching
in class Entity
public boolean isMovingSlowly()
public void serverAiStep()
serverAiStep
in class PlayerEntity
protected boolean isControlledCamera()
public void aiStep()
aiStep
in class PlayerEntity
private void handleNetherPortalClient()
public void rideTick()
rideTick
in class PlayerEntity
public boolean isHandsBusy()
@Nullable public EffectInstance removeEffectNoUpdate(@Nullable Effect p_184596_1_)
removeEffectNoUpdate
in class LivingEntity
public boolean isAutoJumpEnabled()
protected void updateAutoJump(float p_189810_1_, float p_189810_2_)
private boolean canAutoJump()
private boolean isMoving()
private boolean hasEnoughImpulseToStartSprinting()
public float getWaterVision()
public boolean isUnderWater()
isUnderWater
in class Entity
protected boolean updateIsUnderwater()
updateIsUnderwater
in class PlayerEntity
public Vector3d getRopeHoldPosition(float p_241843_1_)
getRopeHoldPosition
in class PlayerEntity
public void updateSyncFields(ClientPlayerEntity old)