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>
public class ClientPlayerEntity extends AbstractClientPlayerEntity
-
-
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
Fields Modifier and Type Field Description private java.util.List<IAmbientSoundHandler>ambientSoundHandlersprivate booleanautoJumpEnabledprivate intautoJumpTimeClientPlayNetHandlerconnectionprivate booleancrouchingprivate booleanflashOnSetHealthprivate booleanhandsBusyMovementInputinputprivate floatjumpRidingScaleprivate intjumpRidingTicksprivate booleanlastOnGroundprotected MinecraftminecraftfloatoPortalTimeprivate intpermissionLevelfloatportalTimeprivate intpositionReminderprivate ClientRecipeBookrecipeBookprivate java.lang.StringserverBrandprivate booleanshowDeathScreenintsprintTimeprotected intsprintTriggerTimeprivate booleanstartedUsingItemprivate StatisticsManagerstatsprivate HandusingItemHandprivate booleanwasFallFlyingprivate booleanwasShiftKeyDownprivate booleanwasSprintingprivate intwaterVisionTimefloatxBobfloatxBobOprivate doublexLastprivate floatxRotLastfloatyBobfloatyBobOprivate doubleyLast1private floatyRotLastprivate doublezLast-
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
Constructors Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactuallyHurt(DamageSource p_70665_1_, float p_70665_2_)voidaiStep()private booleancanAutoJump()booleancanSpawnSoulSpeedParticle()booleancanSpawnSprintParticle()voidchat(java.lang.String p_71165_1_)voidclientSideCloseContainer()voidcloseContainer()voidcrit(Entity p_71009_1_)voiddisplayClientMessage(ITextComponent p_146105_1_, boolean p_146105_2_)booleandrop(boolean p_225609_1_)floatgetCurrentMood()floatgetJumpRidingScale()protected intgetPermissionLevel()ClientRecipeBookgetRecipeBook()Vector3dgetRopeHoldPosition(float p_241843_1_)java.lang.StringgetServerBrand()StatisticsManagergetStats()HandgetUsedItemHand()floatgetViewXRot(float p_195050_1_)floatgetViewYRot(float p_195046_1_)floatgetWaterVision()voidhandleEntityEvent(byte p_70103_1_)private voidhandleNetherPortalClient()private booleanhasEnoughImpulseToStartSprinting()voidheal(float p_70691_1_)booleanhurt(DamageSource p_70097_1_, float p_70097_2_)voidhurtTo(float p_71150_1_)booleanisAutoJumpEnabled()protected booleanisControlledCamera()booleanisCrouching()booleanisEffectiveAi()booleanisHandsBusy()booleanisLocalPlayer()private booleanisMoving()booleanisMovingSlowly()booleanisRidingJumpable()booleanisShiftKeyDown()booleanisSuppressingSlidingDownLadder()booleanisUnderWater()booleanisUsingItem()voidmagicCrit(Entity p_71047_1_)voidmove(MoverType p_213315_1_, Vector3d p_213315_2_)private voidmoveTowardsClosestSpace(double p_244389_1_, double p_244389_3_)voidonSyncedDataUpdated(DataParameter<?> p_184206_1_)voidonUpdateAbilities()voidopenCommandBlock(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_)EffectInstanceremoveEffectNoUpdate(Effect p_184596_1_)voidremoveRecipeHighlight(IRecipe<?> p_193103_1_)voidremoveVehicle()voidrespawn()voidrideTick()voidsendMessage(ITextComponent p_145747_1_, java.util.UUID p_145747_2_)voidsendOpenInventory()private voidsendPosition()protected voidsendRidingJump()voidserverAiStep()voidsetExperienceValues(float p_71152_1_, int p_71152_2_, int p_71152_3_)voidsetPermissionLevel(int p_184839_1_)voidsetServerBrand(java.lang.String p_175158_1_)voidsetShowDeathScreen(boolean p_228355_1_)voidsetSprinting(boolean p_70031_1_)booleanshouldShowDeathScreen()booleanstartRiding(Entity p_184205_1_, boolean p_184205_2_)voidstartUsingItem(Hand p_184598_1_)voidstopUsingItem()private booleansuffocatesAt(BlockPos p_205027_1_)voidswing(Hand p_184609_1_)voidtick()protected voidupdateAutoJump(float p_189810_1_, float p_189810_2_)protected booleanupdateIsUnderwater()voidupdateSyncFields(ClientPlayerEntity old)-
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 Detail
-
connection
public final ClientPlayNetHandler connection
-
stats
private final StatisticsManager stats
-
recipeBook
private final ClientRecipeBook recipeBook
-
ambientSoundHandlers
private final java.util.List<IAmbientSoundHandler> 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
private java.lang.String serverBrand
-
input
public MovementInput input
-
minecraft
protected final Minecraft 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
private Hand 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 Detail
-
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 Detail
-
hurt
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
- Overrides:
hurtin classPlayerEntity
-
heal
public void heal(float p_70691_1_)
- Overrides:
healin classLivingEntity
-
startRiding
public boolean startRiding(Entity p_184205_1_, boolean p_184205_2_)
- 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
public void chat(java.lang.String p_71165_1_)
-
swing
public void swing(Hand p_184609_1_)
- Overrides:
swingin classLivingEntity
-
respawn
public void respawn()
- Overrides:
respawnin classPlayerEntity
-
actuallyHurt
protected void actuallyHurt(DamageSource p_70665_1_, float p_70665_2_)
- 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
public void setServerBrand(java.lang.String p_175158_1_)
-
getServerBrand
public java.lang.String getServerBrand()
-
getStats
public StatisticsManager getStats()
-
getRecipeBook
public ClientRecipeBook getRecipeBook()
-
removeRecipeHighlight
public void removeRecipeHighlight(IRecipe<?> p_193103_1_)
-
getPermissionLevel
protected int getPermissionLevel()
- Overrides:
getPermissionLevelin classEntity
-
setPermissionLevel
public void setPermissionLevel(int p_184839_1_)
-
displayClientMessage
public void displayClientMessage(ITextComponent p_146105_1_, boolean p_146105_2_)
- Overrides:
displayClientMessagein classPlayerEntity
-
moveTowardsClosestSpace
private void moveTowardsClosestSpace(double p_244389_1_, double p_244389_3_)
-
suffocatesAt
private boolean suffocatesAt(BlockPos p_205027_1_)
-
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
public void sendMessage(ITextComponent p_145747_1_, java.util.UUID p_145747_2_)
- 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
public void playSound(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_)
- 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
public void startUsingItem(Hand p_184598_1_)
- Overrides:
startUsingItemin classLivingEntity
-
isUsingItem
public boolean isUsingItem()
- Overrides:
isUsingItemin classLivingEntity
-
stopUsingItem
public void stopUsingItem()
- Overrides:
stopUsingItemin classLivingEntity
-
getUsedItemHand
public Hand getUsedItemHand()
- Overrides:
getUsedItemHandin classLivingEntity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
- Overrides:
onSyncedDataUpdatedin classLivingEntity
-
isRidingJumpable
public boolean isRidingJumpable()
-
getJumpRidingScale
public float getJumpRidingScale()
-
openTextEdit
public void openTextEdit(SignTileEntity p_175141_1_)
- Overrides:
openTextEditin classPlayerEntity
-
openMinecartCommandBlock
public void openMinecartCommandBlock(CommandBlockLogic p_184809_1_)
- Overrides:
openMinecartCommandBlockin classPlayerEntity
-
openCommandBlock
public void openCommandBlock(CommandBlockTileEntity p_184824_1_)
- Overrides:
openCommandBlockin classPlayerEntity
-
openStructureBlock
public void openStructureBlock(StructureBlockTileEntity p_189807_1_)
- Overrides:
openStructureBlockin classPlayerEntity
-
openJigsawBlock
public void openJigsawBlock(JigsawTileEntity p_213826_1_)
- Overrides:
openJigsawBlockin classPlayerEntity
-
openItemGui
public void openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
- Overrides:
openItemGuiin classPlayerEntity
-
crit
public void crit(Entity p_71009_1_)
- Overrides:
critin classPlayerEntity
-
magicCrit
public void magicCrit(Entity p_71047_1_)
- 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
@Nullable public EffectInstance removeEffectNoUpdate(@Nullable Effect p_184596_1_)
- Overrides:
removeEffectNoUpdatein classLivingEntity
-
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
public Vector3d getRopeHoldPosition(float p_241843_1_)
- Overrides:
getRopeHoldPositionin classPlayerEntity
-
updateSyncFields
public void updateSyncFields(ClientPlayerEntity old)
-
-