net.minecraft.world.entity.player

public abstract class Player

extends LivingEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable

csi
net.minecraft.world.entity.player.Player
net.minecraft.class_1657
net.minecraft.entity.player.PlayerEntity
net.minecraft.src.C_1141_

Field summary

Modifier and TypeField
public static final HumanoidArm
bu
DEFAULT_MAIN_HAND
field_46174
DEFAULT_MAIN_ARM
f_291841_
public static final int
bv
DEFAULT_MODEL_CUSTOMIZATION
field_46175
field_46175
f_290962_
public static final int
bw
MAX_HEALTH
field_30644
field_30644
f_150083_
public static final int
bx
SLEEP_DURATION
field_30645
field_30645
f_150084_
public static final int
by
WAKE_UP_DURATION
field_30646
field_30646
f_150085_
public static final int
bz
ENDER_SLOT_OFFSET
field_30647
field_30647
f_150086_
public static final int
bA
HELD_ITEM_SLOT
field_49734
field_49734
f_316671_
public static final int
bB
CRAFTING_SLOT_OFFSET
field_49735
field_49735
f_313973_
public static final float
bC
DEFAULT_BLOCK_INTERACTION_RANGE
field_47819
field_47819
f_316011_
public static final float
bD
DEFAULT_ENTITY_INTERACTION_RANGE
field_47820
field_47820
f_315769_
public static final float
bE
CROUCH_BB_HEIGHT
field_30648
field_30648
f_150087_
public static final float
bF
SWIMMING_BB_WIDTH
field_30649
field_30649
f_150088_
public static final float
bG
SWIMMING_BB_HEIGHT
field_30650
field_30650
f_150089_
public static final float
bH
DEFAULT_EYE_HEIGHT
field_30651
DEFAULT_EYE_HEIGHT
f_150090_
private static final int
a
CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
field_52222
field_52222
f_336776_
public static final Vec3
bI
DEFAULT_VEHICLE_ATTACHMENT
field_47821
VEHICLE_ATTACHMENT_POS
f_315404_
public static final EntityDimensions
bJ
STANDING_DIMENSIONS
field_18135
STANDING_DIMENSIONS
f_36088_
private static final Map<Pose, EntityDimensions>
b
POSES
field_18134
POSE_DIMENSIONS
f_36074_
private static final EntityDataAccessor<Float>
c
DATA_PLAYER_ABSORPTION_ID
field_7491
ABSORPTION_AMOUNT
f_36107_
private static final EntityDataAccessor<Integer>
d
DATA_SCORE_ID
field_7511
SCORE
f_36108_
protected static final EntityDataAccessor<Byte>
bK
DATA_PLAYER_MODE_CUSTOMISATION
field_7518
PLAYER_MODEL_PARTS
f_36089_
protected static final EntityDataAccessor<Byte>
bL
DATA_PLAYER_MAIN_HAND
field_7488
MAIN_ARM
f_36090_
protected static final EntityDataAccessor<CompoundTag>
bM
DATA_SHOULDER_LEFT
field_7496
LEFT_SHOULDER_ENTITY
f_36091_
protected static final EntityDataAccessor<CompoundTag>
bN
DATA_SHOULDER_RIGHT
field_7506
RIGHT_SHOULDER_ENTITY
f_36092_
public static final int
bO
CLIENT_LOADED_TIMEOUT_TIME
field_55202
field_55202
f_370779_
private static final short
e
DEFAULT_SLEEP_TIMER
field_57725
field_57725
f_379895_
private static final float
f
DEFAULT_EXPERIENCE_PROGRESS
field_57726
field_57726
f_382054_
private static final int
g
DEFAULT_EXPERIENCE_LEVEL
field_57727
field_57727
f_382553_
private static final int
h
DEFAULT_TOTAL_EXPERIENCE
field_57728
field_57728
f_382623_
private static final int
i
NO_ENCHANTMENT_SEED
field_57729
field_57729
f_382181_
private static final int
j
DEFAULT_SELECTED_SLOT
field_57730
field_57730
f_380144_
private static final int
k
DEFAULT_SCORE
field_57731
field_57731
f_379598_
private static final boolean
cq
DEFAULT_IGNORE_FALL_DAMAGE_FROM_CURRENT_IMPULSE
field_57723
field_57723
f_380963_
private static final int
cr
DEFAULT_CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME
field_57724
field_57724
f_379757_
private long
cs
timeEntitySatOnShoulder
field_19428
shoulderEntityAddedTime
f_36109_
final Inventory
ct
inventory
field_7514
inventory
f_36093_
protected PlayerEnderChestContainer
bP
enderChestInventory
field_7486
enderChestInventory
f_36094_
public final InventoryMenu
bQ
inventoryMenu
field_7498
playerScreenHandler
f_36095_
public AbstractContainerMenu
bR
containerMenu
field_7512
currentScreenHandler
f_36096_
protected FoodData
bS
foodData
field_7493
hungerManager
f_36097_
protected int
bT
jumpTriggerTime
field_7489
abilityResyncCountdown
f_36098_
private boolean
cu
clientLoaded
field_55204
loaded
f_371027_
protected int
bU
clientLoadedTimeoutTimer
field_55203
remainingLoadTicks
f_371327_
public float
bV
oBob
field_7505
lastStrideDistance
f_36099_
public float
bW
bob
field_7483
strideDistance
f_36100_
public int
bX
takeXpDelay
field_7504
experiencePickUpDelay
f_36101_
public double
bY
xCloakO
field_7524
lastCapeX
f_36102_
public double
bZ
yCloakO
field_7502
lastCapeY
f_36103_
public double
ca
zCloakO
field_7522
lastCapeZ
f_36104_
public double
cb
xCloak
field_7500
capeX
f_36105_
public double
cc
yCloak
field_7521
capeY
f_36106_
public double
cd
zCloak
field_7499
capeZ
f_36075_
private int
cv
sleepCounter
field_7487
sleepTimer
f_36110_
protected boolean
ce
wasUnderwater
field_7490
isSubmergedInWater
f_36076_
private final Abilities
cw
abilities
field_7503
abilities
f_36077_
public int
cf
experienceLevel
field_7520
experienceLevel
f_36078_
public int
cg
totalExperience
field_7495
totalExperience
f_36079_
public float
ch
experienceProgress
field_7510
experienceProgress
f_36080_
protected int
ci
enchantmentSeed
field_7494
enchantingTableSeed
f_36081_
protected final float
cj
defaultFlySpeed
field_7509
field_7509
f_36082_
private int
cx
lastLevelUpTime
field_7508
lastPlayedLevelUpSoundTime
f_36111_
private final com.mojang.authlib.GameProfile
cy
gameProfile
field_7507
gameProfile
f_36084_
private boolean
cz
reducedDebugInfo
field_7523
reducedDebugInfo
f_36085_
private ItemStack
cA
lastItemInMainHand
field_7525
selectedItem
f_36086_
private final ItemCooldowns
cB
cooldowns
field_7484
itemCooldownManager
f_36087_
private Optional<GlobalPos>
cC
lastDeathLocation
field_39445
lastDeathPos
f_238176_
public FishingHook
ck
fishing
field_7513
fishHook
f_36083_
protected float
cl
hurtDir
field_41765
damageTiltYaw
f_263750_
public Vec3
cm
currentImpulseImpactPos
field_49989
currentExplosionImpactPos
f_316171_
public Entity
cn
currentExplosionCause
field_49990
explodedBy
f_314551_
private boolean
cD
ignoreFallDamageFromCurrentImpulse
field_49991
ignoreFallDamageFromCurrentExplosion
f_315903_
private int
cE
currentImpulseContextResetGraceTime
field_52223
currentExplosionResetGraceTime
f_337524_

Constructor summary

ModifierConstructor
public (Level world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile arg3)

Method summary

Modifier and TypeMethod
protected EntityEquipment
eb()
createEquipment()
method_67518()
createEquipment()
m_384817_()
public boolean
a(dkj arg0, iw arg1, dkg arg2)
blockActionRestricted(Level arg0, BlockPos arg1, GameType arg2)
method_21701(class_1937 arg0, class_2338 arg1, class_1934 arg2)
isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode)
m_36187_(C_1596_ p_36189_, C_4675_ p_36190_, C_1593_ arg2)
public static AttributeSupplier$Builder
fX()
createAttributes()
method_26956()
createPlayerAttributes()
m_36340_()
protected void
a(aky$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
g()
tick()
method_5773()
tick()
m_8119_()
protected float
fp()
getMaxHeadRotationRelativeToBody()
method_53964()
getMaxRelativeHeadRotation()
m_307017_()
public boolean
fY()
isSecondaryUseActive()
method_21823()
shouldCancelInteraction()
m_36341_()
protected boolean
fZ()
wantsToStopRiding()
method_21824()
shouldDismount()
m_36342_()
protected boolean
ga()
isStayingOnGroundSurface()
method_21825()
clipAtLedge()
m_36343_()
protected boolean
gb()
updateIsUnderwater()
method_7295()
updateWaterSubmersionState()
m_7602_()
public void
a(boolean arg0, iw arg1)
onAboveBubbleColumn(boolean arg0, BlockPos arg1)
method_5700(boolean arg0, class_2338 arg1)
onBubbleColumnSurfaceCollision(boolean arg0, BlockPos arg1)
m_383930_(boolean p_391484_, C_4675_ arg1)
public void
l(boolean arg0)
onInsideBubbleColumn(boolean arg0)
method_5764(boolean arg0)
onBubbleColumnCollision(boolean arg0)
m_20321_(boolean arg0)
private void
m()
turtleHelmetTick()
method_7330()
updateTurtleHelmet()
m_36372_()
private boolean
c(dag arg0)
isEquipped(Item arg0)
method_64179(class_1792 arg0)
isEquipped(Item item)
m_357046_(C_1381_ arg0)
protected ItemCooldowns
f()
createItemCooldowns()
method_7265()
createCooldownManager()
m_7478_()
private void
s()
moveCloak()
method_7313()
updateCapeAngles()
m_36377_()
protected void
gc()
updatePlayerPose()
method_7318()
updatePose()
m_7594_()
private Pose
u()
getDesiredPose()
method_66325()
getExpectedPose()
m_384524_()
protected boolean
h(byr arg0)
canPlayerFitWithinBlocksAndEntitiesWhen(Pose arg0)
method_52558(class_4050 arg0)
canChangeIntoPose(EntityPose pose)
m_295652_(C_535_ arg0)
protected SoundEvent
aU()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected SoundEvent
aV()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected SoundEvent
aW()
getSwimHighSpeedSplashSound()
method_5672()
getHighSpeedSplashSound()
m_5508_()
public int
bW()
getDimensionChangingDelay()
method_5806()
getDefaultPortalCooldown()
m_6045_()
public void
a(awx arg0, float arg1, float arg2)
playSound(SoundEvent arg0, float arg1, float arg2)
method_5783(class_3414 arg0, float arg1, float arg2)
playSound(SoundEvent arg0, float arg1, float arg2)
m_5496_(C_123_ p_36138_, float p_36139_, float arg2)
public void
a(awx arg0, awz arg1, float arg2, float arg3)
playNotifySound(SoundEvent arg0, SoundSource arg1, float arg2, float arg3)
method_17356(class_3414 arg0, class_3419 arg1, float arg2, float arg3)
playSoundToPlayer(SoundEvent sound, SoundCategory category, float volume, float pitch)
m_6330_(C_123_ p_36141_, C_125_ p_36142_, float p_36143_, float arg3)
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected int
dn()
getFireImmuneTicks()
method_5676()
getBurningDuration()
m_6101_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
protected void
o()
closeContainer()
method_7346()
closeHandledScreen()
m_6915_()
protected void
p()
doCloseContainer()
method_14247()
onHandledScreenClosed()
m_9230_()
public void
q()
rideTick()
method_5842()
tickRiding()
m_6083_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
i()
tickRegeneration()
method_64400()
tickHunger()
m_353805_()
private void
c(ua arg0)
playShoulderEntityAmbientSound(CompoundTag arg0)
method_7267(class_2487 arg0)
updateShoulderEntity(NbtCompound entityNbt)
m_36367_(C_4917_ arg0)
private void
d(bxe arg0)
touch(Entity arg0)
method_7341(class_1297 arg0)
collideWithEntity(Entity entity)
m_36277_(C_507_ arg0)
public int
gd()
getScore()
method_7272()
getScore()
m_36344_()
public void
q(int arg0)
setScore(int arg0)
method_7320(int arg0)
setScore(int score)
m_36397_(int arg0)
public void
r(int arg0)
increaseScore(int arg0)
method_7285(int arg0)
addScore(int score)
m_36401_(int arg0)
public void
a(int arg0, float arg1, dak arg2)
startAutoSpinAttack(int arg0, float arg1, ItemStack arg2)
method_40126(int arg0, float arg1, class_1799 arg2)
useRiptide(int riptideTicks, float riptideAttackDamage, ItemStack stack)
m_204079_(int p_344736_, float p_343326_, C_1391_ arg2)
public ItemStack
dZ()
getWeaponItem()
method_59958()
getWeaponStack()
m_338776_()
public void
a(bvt arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
protected void
f(asb arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
dropInventory(ServerWorld arg0)
m_5907_(C_12_ arg0)
protected void
ge()
destroyVanishingCursedItems()
method_7293()
vanishCursedItems()
m_36345_()
protected SoundEvent
e(bvt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
j_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public void
g(dak arg0)
handleCreativeModeItemDrop(ItemStack arg0)
method_61499(class_1799 arg0)
dropCreativeStack(ItemStack stack)
m_353273_(C_1391_ arg0)
public ItemEntity
a(dak arg0, boolean arg1)
drop(ItemStack arg0, boolean arg1)
method_7328(class_1799 arg0, boolean arg1)
dropItem(ItemStack stack, boolean retainOwnership)
m_36176_(C_1391_ p_36178_, boolean arg1)
public float
c(ebq arg0)
getDestroySpeed(BlockState arg0)
method_7351(class_2680 arg0)
getBlockBreakingSpeed(BlockState block)
m_36281_(C_2064_ arg0)
public boolean
d(ebq arg0)
hasCorrectToolForDrops(BlockState arg0)
method_7305(class_2680 arg0)
canHarvest(BlockState state)
m_36298_(C_2064_ arg0)
public void
a(ua arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ua arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public boolean
a(asb arg0, bvt arg1)
isInvulnerableTo(ServerLevel arg0, DamageSource arg1)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
m_9181_(C_12_ p_36249_, C_489_ arg1)
public boolean
a(asb arg0, bvt arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_364544_, C_489_ p_368576_, float arg2)
protected void
b(asb arg0, byf arg1)
blockUsingItem(ServerLevel arg0, LivingEntity arg1)
method_6090(class_3218 arg0, class_1309 arg1)
takeShieldHit(ServerWorld arg0, LivingEntity arg1)
m_384415_(C_12_ p_395720_, C_524_ arg1)
public boolean
ez()
canBeSeenAsEnemy()
method_33190()
canTakeDamage()
m_142066_()
public boolean
a(csi arg0)
canHarmPlayer(Player arg0)
method_7256(class_1657 arg0)
shouldDamagePlayer(PlayerEntity player)
m_7099_(C_1141_ arg0)
protected void
c(bvt arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
m_6472_(C_489_ p_36252_, float arg1)
protected void
d(bvt arg0, float arg1)
hurtHelmet(DamageSource arg0, float arg1)
method_36977(class_1282 arg0, float arg1)
damageHelmet(DamageSource arg0, float arg1)
m_142642_(C_489_ p_150104_, float arg1)
protected void
c(asb arg0, bvt arg1, float arg2)
actuallyHurt(ServerLevel arg0, DamageSource arg1, float arg2)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
m_6475_(C_12_ p_36312_, C_489_ p_36313_, float arg2)
public boolean
W()
isTextFilteringEnabled()
method_33793()
shouldFilterText()
m_143387_()
public void
a(eac arg0, boolean arg1)
openTextEdit(SignBlockEntity arg0, boolean arg1)
method_7311(class_2625 arg0, boolean arg1)
openEditSignScreen(SignBlockEntity sign, boolean front)
m_7739_(C_2024_ p_277837_, boolean arg1)
public void
a(dji arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor)
m_7907_(C_1553_ arg0)
public void
a(dyz arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity commandBlock)
m_7698_(C_1998_ arg0)
public void
a(eah arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
openStructureBlockScreen(StructureBlockBlockEntity structureBlock)
m_5966_(C_2029_ arg0)
public void
a(eai arg0)
openTestBlock(TestBlockEntity arg0)
method_66695(class_10637 arg0)
openTestBlockScreen(TestBlockEntity testBlock)
m_385070_(C_379116_ arg0)
public void
a(eaj arg0)
openTestInstanceBlock(TestInstanceBlockEntity arg0)
method_66696(class_10638 arg0)
openTestInstanceBlockScreen(TestInstanceBlockEntity testInstanceBlock)
m_385439_(C_378928_ arg0)
public void
a(dzs arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
openJigsawScreen(JigsawBlockEntity jigsaw)
m_7569_(C_2011_ arg0)
public void
a(cme arg0, buv arg1)
openHorseInventory(AbstractHorse arg0, Container arg1)
method_7291(class_1496 arg0, class_1263 arg1)
openHorseInventory(AbstractHorseEntity horse, Inventory inventory)
m_6658_(C_926_ p_36168_, C_464_ arg1)
public OptionalInt
a(bve arg0)
openMenu(MenuProvider arg0)
method_17355(class_3908 arg0)
openHandledScreen(NamedScreenHandlerFactory factory)
m_5893_(C_474_ arg0)
public void
a(int arg0, djg arg1, int arg2, int arg3, boolean arg4, boolean arg5)
sendMerchantOffers(int arg0, MerchantOffers arg1, int arg2, int arg3, boolean arg4, boolean arg5)
method_17354(int arg0, class_1916 arg1, int arg2, int arg3, boolean arg4, boolean arg5)
sendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable)
m_7662_(int p_36122_, C_1552_ p_36123_, int p_36124_, int p_36125_, boolean p_36126_, boolean arg5)
public void
a(dak arg0, bvb arg1)
openItemGui(ItemStack arg0, InteractionHand arg1)
method_7315(class_1799 arg0, class_1268 arg1)
useBook(ItemStack book, Hand hand)
m_6986_(C_1391_ p_36175_, C_470_ arg1)
public InteractionResult
a(bxe arg0, bvb arg1)
interactOn(Entity arg0, InteractionHand arg1)
method_7287(class_1297 arg0, class_1268 arg1)
interact(Entity entity, Hand hand)
m_36157_(C_507_ p_36159_, C_470_ arg1)
public void
aa()
removeVehicle()
method_29239()
dismountVehicle()
m_6038_()
protected boolean
fg()
isImmobile()
method_6062()
isImmobile()
m_6107_()
public boolean
em()
isAffectedByFluids()
method_29920()
shouldSwimInFluids()
m_6129_()
protected Vec3
a(fgc arg0, byj arg1)
maybeBackOffFromEdge(Vec3 arg0, MoverType arg1)
method_18796(class_243 arg0, class_1313 arg1)
adjustMovementForSneaking(Vec3d arg0, MovementType arg1)
m_5763_(C_3046_ p_36202_, C_531_ arg1)
private boolean
I(float arg0)
isAboveGround(float arg0)
method_30263(float arg0)
method_30263(float arg0)
m_36386_(float arg0)
private boolean
q(double arg0, double arg1, double arg2)
canFallAtLeast(double arg0, double arg1, double arg2)
method_59818(double arg0, double arg1, double arg2)
isSpaceAroundPlayerEmpty(double offsetX, double offsetZ, double arg2)
m_323310_(double p_331138_, double arg1, double arg2)
public void
e(bxe arg0)
attack(Entity arg0)
method_7324(class_1297 arg0)
attack(Entity target)
m_5706_(C_507_ arg0)
protected float
a(bxe arg0, float arg1, bvt arg2)
getEnchantedDamage(Entity arg0, float arg1, DamageSource arg2)
method_59903(class_1297 arg0, float arg1, class_1282 arg2)
getDamageAgainst(Entity target, float baseDamage, DamageSource damageSource)
m_339569_(C_507_ p_345044_, float p_343261_, C_489_ arg2)
protected void
f(byf arg0)
doAutoAttackOnTouch(LivingEntity arg0)
method_5997(class_1309 arg0)
attackLivingEntity(LivingEntity arg0)
m_6727_(C_524_ arg0)
public void
b(bxe arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
addCritParticles(Entity target)
m_5704_(C_507_ arg0)
public void
c(bxe arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity target)
m_5700_(C_507_ arg0)
public void
gf()
sweepAttack()
method_7263()
spawnSweepAttackParticles()
m_36346_()
public void
gg()
respawn()
method_7331()
requestRespawn()
m_7583_()
public void
a(bxe$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
public boolean
Z_()
isClientAuthoritative()
method_65038()
isControlledByPlayer()
m_319024_()
protected boolean
dh()
isLocalClientAuthoritative()
method_66248()
isControlledByMainPlayer()
m_384139_()
public boolean
gh()
isLocalPlayer()
method_7340()
isMainPlayer()
m_7578_()
public boolean
di()
canSimulateMovement()
method_66249()
canMoveVoluntarily()
m_385216_()
public boolean
dj()
isEffectiveAi()
method_6034()
canActVoluntarily()
m_21515_()
public com.mojang.authlib.GameProfile
gi()
getGameProfile()
method_7334()
getGameProfile()
m_36316_()
public Inventory
gj()
getInventory()
method_31548()
getInventory()
m_150109_()
public Abilities
gk()
getAbilities()
method_31549()
getAbilities()
m_150110_()
public boolean
fV()
hasInfiniteMaterials()
method_56992()
isInCreativeMode()
m_322042_()
public boolean
gl()
preventsBlockDrops()
method_66324()
shouldSkipBlockDrops()
m_387374_()
public void
a(dak arg0, dak arg1, cwl arg2)
updateTutorialInventoryAction(ItemStack arg0, ItemStack arg1, ClickAction arg2)
method_33592(class_1799 arg0, class_1799 arg1, class_5536 arg2)
onPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType)
m_141945_(C_1391_ p_150099_, C_1391_ p_150100_, C_141163_ arg2)
public boolean
gm()
hasContainerOpen()
method_45015()
shouldCloseHandledScreenOnRespawn()
m_242612_()
public boolean
gn()
canDropItems()
method_64271()
canDropItems()
m_355365_()
public com.mojang.datafixers.util.Either<Player$BedSleepingProblem, Unit>
a(iw arg0)
startSleepInBed(BlockPos arg0)
method_7269(class_2338 arg0)
trySleep(BlockPos pos)
m_7720_(C_4675_ arg0)
public void
a(boolean arg0, boolean arg1)
stopSleepInBed(boolean arg0, boolean arg1)
method_7358(boolean arg0, boolean arg1)
wakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers)
m_6145_(boolean p_36227_, boolean arg1)
public void
fS()
stopSleeping()
method_18400()
wakeUp()
m_5796_()
public boolean
go()
isSleepingLongEnough()
method_7276()
canResetTimeBySleeping()
m_36317_()
public int
gp()
getSleepTimer()
method_7297()
getSleepTimer()
m_36318_()
public void
a(xg arg0, boolean arg1)
displayClientMessage(Component arg0, boolean arg1)
method_7353(class_2561 arg0, boolean arg1)
sendMessage(Text message, boolean overlay)
m_5661_(C_4996_ p_36217_, boolean arg1)
public void
a(alr arg0)
awardStat(ResourceLocation arg0)
method_7281(class_2960 arg0)
incrementStat(Identifier stat)
m_36220_(C_5265_ arg0)
public void
a(alr arg0, int arg1)
awardStat(ResourceLocation arg0, int arg1)
method_7339(class_2960 arg0, int arg1)
increaseStat(Identifier stat, int amount)
m_36222_(C_5265_ p_36224_, int arg1)
public void
b(axf<?> arg0)
awardStat(Stat<?> arg0)
method_7259(class_3445<?> arg0)
incrementStat(Stat<?> stat)
m_36246_(C_131_<?> arg0)
public void
a(axf<?> arg0, int arg1)
awardStat(Stat<?> arg0, int arg1)
method_7342(class_3445<?> arg0, int arg1)
increaseStat(Stat<?> stat, int amount)
m_6278_(C_131_<?> p_36146_, int arg1)
public void
a(axf<?> arg0)
resetStat(Stat<?> arg0)
method_7266(class_3445<?> arg0)
resetStat(Stat<?> stat)
m_7166_(C_131_<?> arg0)
public int
a(Collection<dfg<?>> arg0)
awardRecipes(Collection<RecipeHolder<?>> arg0)
method_7254(Collection<class_8786<?>> arg0)
unlockRecipes(Collection<RecipeEntry<?>> recipes)
m_7281_(Collection<C_290175_<?>> arg0)
public void
a(dfg<?> arg0, List<dak> arg1)
triggerRecipeCrafted(RecipeHolder<?> arg0, List<ItemStack> arg1)
method_51283(class_8786<?> arg0, List<class_1799> arg1)
onRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients)
m_280300_(C_290175_<?> p_283609_, List<C_1391_> arg1)
public void
b(List<alq<dfb<?>>> arg0)
awardRecipesByKey(List<ResourceKey<Recipe<?>>> arg0)
method_7335(List<class_5321<class_1860<?>>> arg0)
unlockRecipes(List<RegistryKey<Recipe<?>>> recipes)
m_7902_(List<C_5264_<C_1469_<?>>> arg0)
public int
b(Collection<dfg<?>> arg0)
resetRecipes(Collection<RecipeHolder<?>> arg0)
method_7333(Collection<class_8786<?>> arg0)
lockRecipes(Collection<RecipeEntry<?>> recipes)
m_7279_(Collection<C_290175_<?>> arg0)
public void
a_(fgc arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected boolean
ft()
canGlide()
method_63628()
canGlide()
m_354463_()
public void
bn()
updateSwimming()
method_5790()
updateSwimming()
m_5844_()
protected boolean
h(iw arg0)
freeAt(BlockPos arg0)
method_7326(class_2338 arg0)
doesNotSuffocate(BlockPos pos)
m_36350_(C_4675_ arg0)
public float
fo()
getSpeed()
method_6029()
getMovementSpeed()
m_6113_()
public boolean
a(double arg0, float arg1, bvt arg2)
causeFallDamage(double arg0, float arg1, DamageSource arg2)
method_5747(double arg0, float arg1, class_1282 arg2)
handleFallDamage(double arg0, float arg1, DamageSource arg2)
m_142535_(double p_150093_, float arg1, C_489_ arg2)
public boolean
gq()
tryToStartFallFlying()
method_23668()
checkGliding()
m_36319_()
public void
gr()
startFallFlying()
method_23669()
startGliding()
m_36320_()
protected void
bq()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
m_5841_()
protected void
b(iw arg0, ebq arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_282194_, C_2064_ arg1)
public LivingEntity$Fallsounds
eO()
getFallSounds()
method_39760()
getFallSounds()
m_196493_()
public boolean
a(asb arg0, byf arg1)
killedEntity(ServerLevel arg0, LivingEntity arg1)
method_5874(class_3218 arg0, class_1309 arg1)
onKilledOther(ServerWorld arg0, LivingEntity arg1)
m_214076_(C_12_ p_219736_, C_524_ arg1)
public void
a(ebq arg0, fgc arg1)
makeStuckInBlock(BlockState arg0, Vec3 arg1)
method_5844(class_2680 arg0, class_243 arg1)
slowMovement(BlockState arg0, Vec3d arg1)
m_7601_(C_2064_ p_36197_, C_3046_ arg1)
public void
d(int arg0)
giveExperiencePoints(int arg0)
method_7255(int arg0)
addExperience(int experience)
m_6756_(int arg0)
public int
gs()
getEnchantmentSeed()
method_7278()
getEnchantingTableSeed()
m_36322_()
public void
a(dak arg0, int arg1)
onEnchantmentPerformed(ItemStack arg0, int arg1)
method_7286(class_1799 arg0, int arg1)
applyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels)
m_7408_(C_1391_ p_36173_, int arg1)
public void
c(int arg0)
giveExperienceLevels(int arg0)
method_7316(int arg0)
addExperienceLevels(int levels)
m_6749_(int arg0)
public int
gt()
getXpNeededForNextLevel()
method_7349()
getNextLevelExperience()
m_36323_()
public void
G(float arg0)
causeFoodExhaustion(float arg0)
method_7322(float arg0)
addExhaustion(float exhaustion)
m_36399_(float arg0)
public Optional<WardenSpawnTracker>
Y()
getWardenSpawnTracker()
method_42272()
getSculkShriekerWarningManager()
m_245217_()
public FoodData
gu()
getFoodData()
method_7344()
getHungerManager()
m_36324_()
public boolean
t(boolean arg0)
canEat(boolean arg0)
method_7332(boolean arg0)
canConsume(boolean ignoreHunger)
m_36391_(boolean arg0)
public boolean
gv()
isHurt()
method_7317()
canFoodHeal()
m_36325_()
public boolean
gw()
mayBuild()
method_7294()
canModifyBlocks()
m_36326_()
public boolean
a(iw arg0, jc arg1, dak arg2)
mayUseItemAt(BlockPos arg0, Direction arg1, ItemStack arg2)
method_7343(class_2338 arg0, class_2350 arg1, class_1799 arg2)
canPlaceOn(BlockPos pos, Direction facing, ItemStack stack)
m_36204_(C_4675_ p_36206_, C_4687_ p_36207_, C_1391_ arg2)
protected int
e(asb arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
m_213860_(C_12_ arg0)
protected boolean
eq()
isAlwaysExperienceDropper()
method_6071()
shouldAlwaysDropExperience()
m_6124_()
public boolean
cM()
shouldShowName()
method_5733()
shouldRenderName()
m_6052_()
protected Entity$MovementEmission
bf()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
public void
w()
onUpdateAbilities()
method_7355()
sendAbilitiesUpdate()
m_6885_()
public Component
ah()
getName()
method_5477()
getName()
m_7755_()
public PlayerEnderChestContainer
gx()
getEnderChestInventory()
method_7274()
getEnderChestInventory()
m_36327_()
protected boolean
b(bxo arg0)
doesEmitEquipEvent(EquipmentSlot arg0)
method_44201(class_1304 arg0)
isArmorSlot(EquipmentSlot arg0)
m_213772_(C_516_ arg0)
public boolean
h(dak arg0)
addItem(ItemStack arg0)
method_7270(class_1799 arg0)
giveItemStack(ItemStack stack)
m_36356_(C_1391_ arg0)
public boolean
j(ua arg0)
setEntityOnShoulder(CompoundTag arg0)
method_7298(class_2487 arg0)
addShoulderEntity(NbtCompound entityNbt)
m_36360_(C_4917_ arg0)
protected void
gy()
removeEntitiesOnShoulder()
method_7262()
dropShoulderEntities()
m_36328_()
private void
d(ua arg0)
respawnEntityOnShoulder(CompoundTag arg0)
method_7296(class_2487 arg0)
dropShoulderEntity(NbtCompound entityNbt)
m_36370_(C_4917_ arg0)
public abstract GameType
a()
gameMode()
method_68876()
getGameMode()
m_398106_()
public boolean
ak()
isSpectator()
method_7325()
isSpectator()
m_5833_()
public boolean
bE()
canBeHitByProjectile()
method_49108()
canBeHitByProjectile()
m_271807_()
public boolean
cj()
isSwimming()
method_5681()
isSwimming()
m_6069_()
public boolean
gz()
isCreative()
method_68878()
isCreative()
m_7500_()
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public Scoreboard
gA()
getScoreboard()
method_7327()
getScoreboard()
m_36329_()
public Component
P_()
getDisplayName()
method_5476()
getDisplayName()
m_5446_()
private MutableComponent
a(xu arg0)
decorateDisplayNameComponent(MutableComponent arg0)
method_7299(class_5250 arg0)
addTellClickEvent(MutableText component)
m_36218_(C_5012_ arg0)
public String
cI()
getScoreboardName()
method_5820()
getNameForScoreboard()
m_6302_()
protected void
F(float arg0)
internalSetAbsorptionAmount(float arg0)
method_52544(float arg0)
setAbsorptionAmountUnclamped(float arg0)
m_292637_(float arg0)
public float
fw()
getAbsorptionAmount()
method_6067()
getAbsorptionAmount()
m_6103_()
public boolean
a(csk arg0)
isModelPartShown(PlayerModelPart arg0)
method_7348(class_1664 arg0)
isPartVisible(PlayerModelPart modelPart)
m_36170_(C_1144_ arg0)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public boolean
gB()
isReducedDebugInfo()
method_7302()
hasReducedDebugInfo()
m_36330_()
public void
u(boolean arg0)
setReducedDebugInfo(boolean arg0)
method_7268(boolean arg0)
setReducedDebugInfo(boolean reducedDebugInfo)
m_36393_(boolean arg0)
public void
h(int arg0)
setRemainingFireTicks(int arg0)
method_20803(int arg0)
setFireTicks(int arg0)
m_7311_(int arg0)
public HumanoidArm
fy()
getMainArm()
method_6068()
getMainArm()
m_5737_()
public void
b(bxw arg0)
setMainArm(HumanoidArm arg0)
method_7283(class_1306 arg0)
setMainArm(Arm arm)
m_36163_(C_520_ arg0)
public CompoundTag
gC()
getShoulderEntityLeft()
method_7356()
getShoulderEntityLeft()
m_36331_()
protected void
k(ua arg0)
setShoulderEntityLeft(CompoundTag arg0)
method_7273(class_2487 arg0)
setShoulderEntityLeft(NbtCompound entityNbt)
m_36362_(C_4917_ arg0)
public CompoundTag
gD()
getShoulderEntityRight()
method_7308()
getShoulderEntityRight()
m_36332_()
protected void
l(ua arg0)
setShoulderEntityRight(CompoundTag arg0)
method_7345(class_2487 arg0)
setShoulderEntityRight(NbtCompound entityNbt)
m_36364_(C_4917_ arg0)
public float
gE()
getCurrentItemAttackStrengthDelay()
method_7279()
getAttackCooldownProgressPerTick()
m_36333_()
public float
H(float arg0)
getAttackStrengthScale(float arg0)
method_7261(float arg0)
getAttackCooldownProgress(float baseTime)
m_36403_(float arg0)
public void
gF()
resetAttackStrengthTicker()
method_7350()
resetLastAttackedTicks()
m_36334_()
public ItemCooldowns
gG()
getCooldowns()
method_7357()
getItemCooldownManager()
m_36335_()
protected float
aS()
getBlockSpeedFactor()
method_23326()
getVelocityMultiplier()
m_6041_()
public float
eh()
getLuck()
method_7292()
getLuck()
m_36336_()
public boolean
gH()
canUseGameMasterBlocks()
method_7338()
isCreativeLevelTwoOp()
m_36337_()
public int
F()
getPermissionLevel()
method_5691()
getPermissionLevel()
m_9242_()
public boolean
s(int arg0)
hasPermissions(int arg0)
method_64475(int arg0)
hasPermissionLevel(int level)
m_352356_(int arg0)
public EntityDimensions
e(byr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public com.google.common.collect.ImmutableList<Pose>
fO()
getDismountPoses()
method_24831()
getPoses()
m_7431_()
public ItemStack
d(dak arg0)
getProjectile(ItemStack arg0)
method_18808(class_1799 arg0)
getProjectileType(ItemStack arg0)
m_6298_(C_1391_ arg0)
public Vec3
v(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
getLeashPos(float arg0)
m_7398_(float arg0)
public boolean
dU()
isAlwaysTicking()
method_31747()
isPlayer()
m_142389_()
public boolean
gI()
isScoping()
method_31550()
isUsingSpyglass()
m_150108_()
public boolean
dT()
shouldBeSaved()
method_31746()
shouldSave()
m_142391_()
public Optional<GlobalPos>
gJ()
getLastDeathLocation()
method_43122()
getLastDeathPos()
m_219759_()
public void
a(Optional<jf> arg0)
setLastDeathLocation(Optional<GlobalPos> arg0)
method_43120(Optional<class_4208> arg0)
setLastDeathPos(Optional<GlobalPos> lastDeathPos)
m_219749_(Optional<C_4697_> arg0)
public float
eM()
getHurtDir()
method_48157()
getDamageTiltYaw()
m_264297_()
public void
q(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
animateDamage(float arg0)
m_6053_(float arg0)
public boolean
dO()
canSprint()
method_48155()
canSprintAsVehicle()
m_264410_()
protected float
fn()
getFlyingSpeed()
method_49484()
getOffGroundSpeed()
m_274460_()
public boolean
gK()
hasClientLoaded()
method_65350()
isLoaded()
m_373227_()
public void
gL()
tickClientLoadTimeout()
method_65351()
tickLoaded()
m_372509_()
public void
v(boolean arg0)
setClientLoaded(boolean arg0)
method_65352(boolean arg0)
setLoaded(boolean loaded)
m_373969_(boolean arg0)
public double
gM()
blockInteractionRange()
method_55754()
getBlockInteractionRange()
m_319993_()
public double
gN()
entityInteractionRange()
method_55755()
getEntityInteractionRange()
m_323410_()
public boolean
b(bxe arg0, double arg1)
canInteractWithEntity(Entity arg0, double arg1)
method_56094(class_1297 arg0, double arg1)
canInteractWithEntity(Entity entity, double additionalRange)
m_321636_(C_507_ p_330803_, double arg1)
public boolean
a(ffx arg0, double arg1)
canInteractWithEntity(AABB arg0, double arg1)
method_56092(class_238 arg0, double arg1)
canInteractWithEntityIn(Box box, double additionalRange)
m_323803_(C_3040_ p_332906_, double arg1)
public boolean
a(iw arg0, double arg1)
canInteractWithBlock(BlockPos arg0, double arg1)
method_56093(class_2338 arg0, double arg1)
canInteractWithBlockAt(BlockPos pos, double additionalRange)
m_319363_(C_4675_ p_328439_, double arg1)
public void
w(boolean arg0)
setIgnoreFallDamageFromCurrentImpulse(boolean arg0)
method_60984(boolean arg0)
setIgnoreFallDamageFromCurrentExplosion(boolean ignoreFallDamageFromCurrentExplosion)
m_340576_(boolean arg0)
public boolean
gO()
isIgnoringFallDamageFromCurrentImpulse()
method_61165()
shouldIgnoreFallDamageFromCurrentExplosion()
m_338570_()
public void
gP()
tryResetCurrentImpulseContext()
method_60983()
tryClearCurrentExplosion()
m_339473_()
public void
gQ()
resetCurrentImpulseContext()
method_58396()
clearCurrentExplosion()
m_320755_()
public boolean
gR()
shouldRotateWithMinecart()
method_61498()
shouldRotateWithMinecart()
m_356735_()
public boolean
k_()
onClimbable()
method_6101()
isClimbing()
m_6147_()
public String
gS()
debugInfo()
method_68877()
asString()
m_398116_()