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.SleepResultNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.IMoveCallback -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<IAmbientSoundHandler>private booleanprivate intfinal ClientPlayNetHandlerprivate booleanprivate booleanprivate booleanprivate floatprivate intprivate booleanprotected final Minecraftfloatprivate intfloatprivate intprivate final ClientRecipeBookprivate Stringprivate booleanintprotected intprivate booleanprivate final StatisticsManagerprivate Handprivate booleanprivate booleanprivate booleanprivate intfloatfloatprivate doubleprivate floatfloatfloatprivate doubleprivate floatprivate doubleFields inherited from class net.minecraft.client.entity.player.AbstractClientPlayerEntity
clientLevel, elytraRotX, elytraRotY, elytraRotZFields 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, zCloakOFields 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, zzaFields 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, zOldFields inherited from interface net.minecraft.command.ICommandSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionClientPlayerEntity(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 voidactuallyHurt(DamageSource p_70665_1_, float p_70665_2_) voidaiStep()private booleanbooleanbooleanvoidvoidvoidvoidvoiddisplayClientMessage(ITextComponent p_146105_1_, boolean p_146105_2_) booleandrop(boolean p_225609_1_) floatfloatprotected intgetRopeHoldPosition(float p_241843_1_) getStats()floatgetViewXRot(float p_195050_1_) floatgetViewYRot(float p_195046_1_) floatvoidhandleEntityEvent(byte p_70103_1_) private voidprivate booleanvoidheal(float p_70691_1_) booleanhurt(DamageSource p_70097_1_, float p_70097_2_) voidhurtTo(float p_71150_1_) booleanprotected booleanbooleanbooleanbooleanbooleanprivate booleanisMoving()booleanbooleanbooleanbooleanbooleanbooleanvoidvoidprivate voidmoveTowardsClosestSpace(double p_244389_1_, double p_244389_3_) voidonSyncedDataUpdated(DataParameter<?> p_184206_1_) voidvoidopenCommandBlock(CommandBlockTileEntity p_184824_1_) voidopenItemGui(ItemStack p_184814_1_, Hand p_184814_2_) voidopenJigsawBlock(JigsawTileEntity p_213826_1_) voidopenMinecartCommandBlock(CommandBlockLogic p_184809_1_) voidopenStructureBlock(StructureBlockTileEntity p_189807_1_) voidopenTextEdit(SignTileEntity p_175141_1_) voidplayNotifySound(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) voidplaySound(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_) removeEffectNoUpdate(Effect p_184596_1_) voidremoveRecipeHighlight(IRecipe<?> p_193103_1_) voidvoidrespawn()voidrideTick()voidsendMessage(ITextComponent p_145747_1_, UUID p_145747_2_) voidprivate voidprotected voidvoidvoidsetExperienceValues(float p_71152_1_, int p_71152_2_, int p_71152_3_) voidsetPermissionLevel(int p_184839_1_) voidsetServerBrand(String p_175158_1_) voidsetShowDeathScreen(boolean p_228355_1_) voidsetSprinting(boolean p_70031_1_) booleanbooleanstartRiding(Entity p_184205_1_, boolean p_184205_2_) voidstartUsingItem(Hand p_184598_1_) voidprivate booleansuffocatesAt(BlockPos p_205027_1_) voidvoidtick()protected voidupdateAutoJump(float p_189810_1_, float p_189810_2_) protected booleanvoidMethods inherited from class net.minecraft.client.entity.player.AbstractClientPlayerEntity
getCloakTextureLocation, getElytraTextureLocation, getFieldOfViewModifier, getModelName, getPlayerInfo, getSkinLocation, getSkinTextureLocation, isCapeLoaded, isCreative, isElytraLoaded, isSkinLoaded, isSpectator, registerSkinTextureMethods 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, wantsToStopRidingMethods 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, updateSwingTimeMethods 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, updateInWaterStateAndDoFluidPushingMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods 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:
hurtin classPlayerEntity
-
heal
public void heal(float p_70691_1_) - Overrides:
healin classLivingEntity
-
startRiding
- Overrides:
startRidingin classEntity
-
removeVehicle
public void removeVehicle()- Overrides:
removeVehiclein classPlayerEntity
-
getViewXRot
public float getViewXRot(float p_195050_1_) - Overrides:
getViewXRotin classEntity
-
getViewYRot
public float getViewYRot(float p_195046_1_) - Overrides:
getViewYRotin classLivingEntity
-
tick
public void tick()- Overrides:
tickin classPlayerEntity
-
getCurrentMood
public float getCurrentMood() -
sendPosition
private void sendPosition() -
drop
public boolean drop(boolean p_225609_1_) - Overrides:
dropin classPlayerEntity
-
chat
-
swing
- Overrides:
swingin classLivingEntity
-
respawn
public void respawn()- Overrides:
respawnin classPlayerEntity
-
actuallyHurt
- Overrides:
actuallyHurtin classPlayerEntity
-
closeContainer
public void closeContainer()- Overrides:
closeContainerin classPlayerEntity
-
clientSideCloseContainer
public void clientSideCloseContainer() -
hurtTo
public void hurtTo(float p_71150_1_) -
onUpdateAbilities
public void onUpdateAbilities()- Overrides:
onUpdateAbilitiesin classPlayerEntity
-
isLocalPlayer
public boolean isLocalPlayer()- Overrides:
isLocalPlayerin classPlayerEntity
-
isSuppressingSlidingDownLadder
public boolean isSuppressingSlidingDownLadder()- Overrides:
isSuppressingSlidingDownLadderin classLivingEntity
-
canSpawnSprintParticle
public boolean canSpawnSprintParticle()- Overrides:
canSpawnSprintParticlein classEntity
-
canSpawnSoulSpeedParticle
public boolean canSpawnSoulSpeedParticle()- Overrides:
canSpawnSoulSpeedParticlein classLivingEntity
-
sendRidingJump
protected void sendRidingJump() -
sendOpenInventory
public void sendOpenInventory() -
setServerBrand
-
getServerBrand
-
getStats
-
getRecipeBook
-
removeRecipeHighlight
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevelin classEntity
-
setPermissionLevel
public void setPermissionLevel(int p_184839_1_) -
displayClientMessage
- Overrides:
displayClientMessagein classPlayerEntity
-
moveTowardsClosestSpace
private void moveTowardsClosestSpace(double p_244389_1_, double p_244389_3_) -
suffocatesAt
-
setSprinting
public void setSprinting(boolean p_70031_1_) - Overrides:
setSprintingin classLivingEntity
-
setExperienceValues
public void setExperienceValues(float p_71152_1_, int p_71152_2_, int p_71152_3_) -
sendMessage
- Specified by:
sendMessagein interfaceICommandSource- Overrides:
sendMessagein classEntity
-
handleEntityEvent
public void handleEntityEvent(byte p_70103_1_) - Overrides:
handleEntityEventin classPlayerEntity
-
setShowDeathScreen
public void setShowDeathScreen(boolean p_228355_1_) -
shouldShowDeathScreen
public boolean shouldShowDeathScreen() -
playSound
- Overrides:
playSoundin classPlayerEntity
-
playNotifySound
public void playNotifySound(SoundEvent p_213823_1_, SoundCategory p_213823_2_, float p_213823_3_, float p_213823_4_) - Overrides:
playNotifySoundin classPlayerEntity
-
isEffectiveAi
public boolean isEffectiveAi()- Overrides:
isEffectiveAiin classLivingEntity
-
startUsingItem
- Overrides:
startUsingItemin classLivingEntity
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItemin classLivingEntity
-
stopUsingItem
public void stopUsingItem()- Overrides:
stopUsingItemin classLivingEntity
-
getUsedItemHand
- Overrides:
getUsedItemHandin classLivingEntity
-
onSyncedDataUpdated
- Overrides:
onSyncedDataUpdatedin classLivingEntity
-
isRidingJumpable
public boolean isRidingJumpable() -
getJumpRidingScale
public float getJumpRidingScale() -
openTextEdit
- Overrides:
openTextEditin classPlayerEntity
-
openMinecartCommandBlock
- Overrides:
openMinecartCommandBlockin classPlayerEntity
-
openCommandBlock
- Overrides:
openCommandBlockin classPlayerEntity
-
openStructureBlock
- Overrides:
openStructureBlockin classPlayerEntity
-
openJigsawBlock
- Overrides:
openJigsawBlockin classPlayerEntity
-
openItemGui
- Overrides:
openItemGuiin classPlayerEntity
-
crit
- Overrides:
critin classPlayerEntity
-
magicCrit
- Overrides:
magicCritin classPlayerEntity
-
isShiftKeyDown
public boolean isShiftKeyDown()- Overrides:
isShiftKeyDownin classEntity
-
isCrouching
public boolean isCrouching()- Overrides:
isCrouchingin classEntity
-
isMovingSlowly
public boolean isMovingSlowly() -
serverAiStep
public void serverAiStep()- Overrides:
serverAiStepin classPlayerEntity
-
isControlledCamera
protected boolean isControlledCamera() -
aiStep
public void aiStep()- Overrides:
aiStepin classPlayerEntity
-
handleNetherPortalClient
private void handleNetherPortalClient() -
rideTick
public void rideTick()- Overrides:
rideTickin classPlayerEntity
-
isHandsBusy
public boolean isHandsBusy() -
removeEffectNoUpdate
- Overrides:
removeEffectNoUpdatein 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:
isUnderWaterin classEntity
-
updateIsUnderwater
protected boolean updateIsUnderwater()- Overrides:
updateIsUnderwaterin classPlayerEntity
-
getRopeHoldPosition
- Overrides:
getRopeHoldPositionin classPlayerEntity
-
updateSyncFields
-