Class ClientPlayerEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.player.PlayerEntity
net.minecraft.client.entity.player.AbstractClientPlayerEntity
net.minecraft.client.entity.player.ClientPlayerEntity
- All Implemented Interfaces:
ICommandSource
,INameable
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeEntity
,INBTSerializable<CompoundNBT>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepResult
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<IAmbientSoundHandler>
private boolean
private int
final ClientPlayNetHandler
private boolean
private boolean
private boolean
private float
private int
private boolean
protected final Minecraft
float
private int
float
private int
private final ClientRecipeBook
private String
private boolean
int
protected int
private boolean
private final StatisticsManager
private Hand
private boolean
private boolean
private boolean
private int
float
float
private double
private float
float
float
private double
private float
private double
Fields inherited from class net.minecraft.client.entity.player.AbstractClientPlayerEntity
clientLevel, elytraRotX, elytraRotY, elytraRotZ
Fields inherited from class net.minecraft.entity.player.PlayerEntity
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
Fields inherited from class net.minecraft.entity.LivingEntity
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
Fields inherited from class net.minecraft.entity.Entity
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, 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
Fields inherited from interface net.minecraft.command.ICommandSource
NULL
-
Constructor Summary
ConstructorDescriptionClientPlayerEntity
(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_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
actuallyHurt
(DamageSource p_70665_1_, float p_70665_2_) void
aiStep()
private boolean
boolean
boolean
void
void
void
void
void
displayClientMessage
(ITextComponent p_146105_1_, boolean p_146105_2_) boolean
drop
(boolean p_225609_1_) float
float
protected int
getRopeHoldPosition
(float p_241843_1_) getStats()
float
getViewXRot
(float p_195050_1_) float
getViewYRot
(float p_195046_1_) float
void
handleEntityEvent
(byte p_70103_1_) private void
private boolean
void
heal
(float p_70691_1_) boolean
hurt
(DamageSource p_70097_1_, float p_70097_2_) void
hurtTo
(float p_71150_1_) boolean
protected boolean
boolean
boolean
boolean
boolean
private boolean
isMoving()
boolean
boolean
boolean
boolean
boolean
boolean
void
void
private void
moveTowardsClosestSpace
(double p_244389_1_, double p_244389_3_) void
onSyncedDataUpdated
(DataParameter<?> p_184206_1_) void
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_) removeEffectNoUpdate
(Effect p_184596_1_) void
removeRecipeHighlight
(IRecipe<?> p_193103_1_) void
void
respawn()
void
rideTick()
void
sendMessage
(ITextComponent p_145747_1_, UUID p_145747_2_) void
private void
protected void
void
void
setExperienceValues
(float p_71152_1_, int p_71152_2_, int p_71152_3_) void
setPermissionLevel
(int p_184839_1_) void
setServerBrand
(String p_175158_1_) void
setShowDeathScreen
(boolean p_228355_1_) void
setSprinting
(boolean p_70031_1_) boolean
boolean
startRiding
(Entity p_184205_1_, boolean p_184205_2_) void
startUsingItem
(Hand p_184598_1_) void
private boolean
suffocatesAt
(BlockPos p_205027_1_) void
void
tick()
protected void
updateAutoJump
(float p_189810_1_, float p_189810_2_) protected boolean
void
Methods inherited from class net.minecraft.client.entity.player.AbstractClientPlayerEntity
getCloakTextureLocation, getElytraTextureLocation, getFieldOfViewModifier, getModelName, getPlayerInfo, getSkinLocation, getSkinTextureLocation, isCapeLoaded, isCreative, isElytraLoaded, isSkinLoaded, isSpectator, registerSkinTexture
Methods inherited from class net.minecraft.entity.player.PlayerEntity
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
Methods inherited from class net.minecraft.entity.LivingEntity
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
Methods inherited from class net.minecraft.entity.Entity
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
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getDimensionsForge, getEntity, getEyeHeightForge, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
-
Field Details
-
connection
-
stats
-
recipeBook
-
ambientSoundHandlers
-
permissionLevel
private int permissionLevel -
xLast
private double xLast -
yLast1
private double yLast1 -
zLast
private double zLast -
yRotLast
private float yRotLast -
xRotLast
private float xRotLast -
lastOnGround
private boolean lastOnGround -
crouching
private boolean crouching -
wasShiftKeyDown
private boolean wasShiftKeyDown -
wasSprinting
private boolean wasSprinting -
positionReminder
private int positionReminder -
flashOnSetHealth
private boolean flashOnSetHealth -
serverBrand
-
input
-
minecraft
-
sprintTriggerTime
protected int sprintTriggerTime -
sprintTime
public int sprintTime -
yBob
public float yBob -
xBob
public float xBob -
yBobO
public float yBobO -
xBobO
public float xBobO -
jumpRidingTicks
private int jumpRidingTicks -
jumpRidingScale
private float jumpRidingScale -
portalTime
public float portalTime -
oPortalTime
public float oPortalTime -
startedUsingItem
private boolean startedUsingItem -
usingItemHand
-
handsBusy
private boolean handsBusy -
autoJumpEnabled
private boolean autoJumpEnabled -
autoJumpTime
private int autoJumpTime -
wasFallFlying
private boolean wasFallFlying -
waterVisionTime
private int waterVisionTime -
showDeathScreen
private boolean showDeathScreen
-
-
Constructor Details
-
ClientPlayerEntity
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_)
-
-
Method Details
-
hurt
- Overrides:
hurt
in classPlayerEntity
-
heal
public void heal(float p_70691_1_) - Overrides:
heal
in classLivingEntity
-
startRiding
- Overrides:
startRiding
in classEntity
-
removeVehicle
public void removeVehicle()- Overrides:
removeVehicle
in classPlayerEntity
-
getViewXRot
public float getViewXRot(float p_195050_1_) - Overrides:
getViewXRot
in classEntity
-
getViewYRot
public float getViewYRot(float p_195046_1_) - Overrides:
getViewYRot
in classLivingEntity
-
tick
public void tick()- Overrides:
tick
in classPlayerEntity
-
getCurrentMood
public float getCurrentMood() -
sendPosition
private void sendPosition() -
drop
public boolean drop(boolean p_225609_1_) - Overrides:
drop
in classPlayerEntity
-
chat
-
swing
- Overrides:
swing
in classLivingEntity
-
respawn
public void respawn()- Overrides:
respawn
in classPlayerEntity
-
actuallyHurt
- Overrides:
actuallyHurt
in classPlayerEntity
-
closeContainer
public void closeContainer()- Overrides:
closeContainer
in classPlayerEntity
-
clientSideCloseContainer
public void clientSideCloseContainer() -
hurtTo
public void hurtTo(float p_71150_1_) -
onUpdateAbilities
public void onUpdateAbilities()- Overrides:
onUpdateAbilities
in classPlayerEntity
-
isLocalPlayer
public boolean isLocalPlayer()- Overrides:
isLocalPlayer
in classPlayerEntity
-
isSuppressingSlidingDownLadder
public boolean isSuppressingSlidingDownLadder()- Overrides:
isSuppressingSlidingDownLadder
in classLivingEntity
-
canSpawnSprintParticle
public boolean canSpawnSprintParticle()- Overrides:
canSpawnSprintParticle
in classEntity
-
canSpawnSoulSpeedParticle
public boolean canSpawnSoulSpeedParticle()- Overrides:
canSpawnSoulSpeedParticle
in classLivingEntity
-
sendRidingJump
protected void sendRidingJump() -
sendOpenInventory
public void sendOpenInventory() -
setServerBrand
-
getServerBrand
-
getStats
-
getRecipeBook
-
removeRecipeHighlight
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevel
in classEntity
-
setPermissionLevel
public void setPermissionLevel(int p_184839_1_) -
displayClientMessage
- Overrides:
displayClientMessage
in classPlayerEntity
-
moveTowardsClosestSpace
private void moveTowardsClosestSpace(double p_244389_1_, double p_244389_3_) -
suffocatesAt
-
setSprinting
public void setSprinting(boolean p_70031_1_) - Overrides:
setSprinting
in classLivingEntity
-
setExperienceValues
public void setExperienceValues(float p_71152_1_, int p_71152_2_, int p_71152_3_) -
sendMessage
- Specified by:
sendMessage
in interfaceICommandSource
- Overrides:
sendMessage
in classEntity
-
handleEntityEvent
public void handleEntityEvent(byte p_70103_1_) - Overrides:
handleEntityEvent
in classPlayerEntity
-
setShowDeathScreen
public void setShowDeathScreen(boolean p_228355_1_) -
shouldShowDeathScreen
public boolean shouldShowDeathScreen() -
playSound
- Overrides:
playSound
in classPlayerEntity
-
playNotifySound
public void playNotifySound(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) - Overrides:
playNotifySound
in classPlayerEntity
-
isEffectiveAi
public boolean isEffectiveAi()- Overrides:
isEffectiveAi
in classLivingEntity
-
startUsingItem
- Overrides:
startUsingItem
in classLivingEntity
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItem
in classLivingEntity
-
stopUsingItem
public void stopUsingItem()- Overrides:
stopUsingItem
in classLivingEntity
-
getUsedItemHand
- Overrides:
getUsedItemHand
in classLivingEntity
-
onSyncedDataUpdated
- Overrides:
onSyncedDataUpdated
in classLivingEntity
-
isRidingJumpable
public boolean isRidingJumpable() -
getJumpRidingScale
public float getJumpRidingScale() -
openTextEdit
- Overrides:
openTextEdit
in classPlayerEntity
-
openMinecartCommandBlock
- Overrides:
openMinecartCommandBlock
in classPlayerEntity
-
openCommandBlock
- Overrides:
openCommandBlock
in classPlayerEntity
-
openStructureBlock
- Overrides:
openStructureBlock
in classPlayerEntity
-
openJigsawBlock
- Overrides:
openJigsawBlock
in classPlayerEntity
-
openItemGui
- Overrides:
openItemGui
in classPlayerEntity
-
crit
- Overrides:
crit
in classPlayerEntity
-
magicCrit
- Overrides:
magicCrit
in classPlayerEntity
-
isShiftKeyDown
public boolean isShiftKeyDown()- Overrides:
isShiftKeyDown
in classEntity
-
isCrouching
public boolean isCrouching()- Overrides:
isCrouching
in classEntity
-
isMovingSlowly
public boolean isMovingSlowly() -
serverAiStep
public void serverAiStep()- Overrides:
serverAiStep
in classPlayerEntity
-
isControlledCamera
protected boolean isControlledCamera() -
aiStep
public void aiStep()- Overrides:
aiStep
in classPlayerEntity
-
handleNetherPortalClient
private void handleNetherPortalClient() -
rideTick
public void rideTick()- Overrides:
rideTick
in classPlayerEntity
-
isHandsBusy
public boolean isHandsBusy() -
removeEffectNoUpdate
- Overrides:
removeEffectNoUpdate
in classLivingEntity
-
move
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled() -
updateAutoJump
protected void updateAutoJump(float p_189810_1_, float p_189810_2_) -
canAutoJump
private boolean canAutoJump() -
isMoving
private boolean isMoving() -
hasEnoughImpulseToStartSprinting
private boolean hasEnoughImpulseToStartSprinting() -
getWaterVision
public float getWaterVision() -
isUnderWater
public boolean isUnderWater()- Overrides:
isUnderWater
in classEntity
-
updateIsUnderwater
protected boolean updateIsUnderwater()- Overrides:
updateIsUnderwater
in classPlayerEntity
-
getRopeHoldPosition
- Overrides:
getRopeHoldPosition
in classPlayerEntity
-
updateSyncFields
-