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>
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
-
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 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)
-
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:
hurt
in classPlayerEntity
-
heal
public void heal(float p_70691_1_)
- Overrides:
heal
in classLivingEntity
-
startRiding
public boolean startRiding(Entity p_184205_1_, boolean p_184205_2_)
- 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
public void chat(java.lang.String p_71165_1_)
-
swing
public void swing(Hand p_184609_1_)
- Overrides:
swing
in classLivingEntity
-
respawn
public void respawn()
- Overrides:
respawn
in classPlayerEntity
-
actuallyHurt
protected void actuallyHurt(DamageSource p_70665_1_, float p_70665_2_)
- 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
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:
getPermissionLevel
in classEntity
-
setPermissionLevel
public void setPermissionLevel(int p_184839_1_)
-
displayClientMessage
public void displayClientMessage(ITextComponent p_146105_1_, boolean p_146105_2_)
- Overrides:
displayClientMessage
in 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:
setSprinting
in 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:
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
public void playSound(SoundEvent p_184185_1_, float p_184185_2_, float p_184185_3_)
- 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
public void startUsingItem(Hand p_184598_1_)
- Overrides:
startUsingItem
in classLivingEntity
-
isUsingItem
public boolean isUsingItem()
- Overrides:
isUsingItem
in classLivingEntity
-
stopUsingItem
public void stopUsingItem()
- Overrides:
stopUsingItem
in classLivingEntity
-
getUsedItemHand
public Hand getUsedItemHand()
- Overrides:
getUsedItemHand
in classLivingEntity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
- Overrides:
onSyncedDataUpdated
in classLivingEntity
-
isRidingJumpable
public boolean isRidingJumpable()
-
getJumpRidingScale
public float getJumpRidingScale()
-
openTextEdit
public void openTextEdit(SignTileEntity p_175141_1_)
- Overrides:
openTextEdit
in classPlayerEntity
-
openMinecartCommandBlock
public void openMinecartCommandBlock(CommandBlockLogic p_184809_1_)
- Overrides:
openMinecartCommandBlock
in classPlayerEntity
-
openCommandBlock
public void openCommandBlock(CommandBlockTileEntity p_184824_1_)
- Overrides:
openCommandBlock
in classPlayerEntity
-
openStructureBlock
public void openStructureBlock(StructureBlockTileEntity p_189807_1_)
- Overrides:
openStructureBlock
in classPlayerEntity
-
openJigsawBlock
public void openJigsawBlock(JigsawTileEntity p_213826_1_)
- Overrides:
openJigsawBlock
in classPlayerEntity
-
openItemGui
public void openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
- Overrides:
openItemGui
in classPlayerEntity
-
crit
public void crit(Entity p_71009_1_)
- Overrides:
crit
in classPlayerEntity
-
magicCrit
public void magicCrit(Entity p_71047_1_)
- 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
@Nullable public EffectInstance removeEffectNoUpdate(@Nullable Effect p_184596_1_)
- Overrides:
removeEffectNoUpdate
in 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:
isUnderWater
in classEntity
-
updateIsUnderwater
protected boolean updateIsUnderwater()
- Overrides:
updateIsUnderwater
in classPlayerEntity
-
getRopeHoldPosition
public Vector3d getRopeHoldPosition(float p_241843_1_)
- Overrides:
getRopeHoldPosition
in classPlayerEntity
-
updateSyncFields
public void updateSyncFields(ClientPlayerEntity old)
-
-