net.minecraft.world.entity.player

public abstract class Player

extends LivingEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable

cpx
net.minecraft.world.entity.player.Player
net.minecraft.class_1657
net.minecraft.entity.player.PlayerEntity
net.minecraft.world.entity.player.EntityHuman

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_38197
LOGGER
public static final HumanoidArm
bH
DEFAULT_MAIN_HAND
field_46174
DEFAULT_MAIN_ARM
public static final int
bI
DEFAULT_MODEL_CUSTOMIZATION
field_46175
field_46175
public static final int
bJ
MAX_HEALTH
field_30644
field_30644
public static final int
bK
SLEEP_DURATION
field_30645
field_30645
public static final int
bL
WAKE_UP_DURATION
field_30646
field_30646
public static final int
bM
ENDER_SLOT_OFFSET
field_30647
field_30647
public static final int
bN
HELD_ITEM_SLOT
field_49734
field_49734
public static final int
bO
CRAFTING_SLOT_OFFSET
field_49735
field_49735
public static final float
bP
DEFAULT_BLOCK_INTERACTION_RANGE
field_47819
field_47819
public static final float
bQ
DEFAULT_ENTITY_INTERACTION_RANGE
field_47820
field_47820
public static final float
bR
CROUCH_BB_HEIGHT
field_30648
field_30648
public static final float
bS
SWIMMING_BB_WIDTH
field_30649
field_30649
public static final float
bT
SWIMMING_BB_HEIGHT
field_30650
field_30650
public static final float
bU
DEFAULT_EYE_HEIGHT
field_30651
DEFAULT_EYE_HEIGHT
private static final int
b
CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
field_52222
field_52222
public static final Vec3
bV
DEFAULT_VEHICLE_ATTACHMENT
field_47821
VEHICLE_ATTACHMENT_POS
public static final EntityDimensions
bW
STANDING_DIMENSIONS
field_18135
STANDING_DIMENSIONS
private static final Map<Pose, EntityDimensions>
c
POSES
field_18134
POSE_DIMENSIONS
private static final EntityDataAccessor<Float>
d
DATA_PLAYER_ABSORPTION_ID
field_7491
ABSORPTION_AMOUNT
private static final EntityDataAccessor<Integer>
e
DATA_SCORE_ID
field_7511
SCORE
protected static final EntityDataAccessor<Byte>
bX
DATA_PLAYER_MODE_CUSTOMISATION
field_7518
PLAYER_MODEL_PARTS
protected static final EntityDataAccessor<Byte>
bY
DATA_PLAYER_MAIN_HAND
field_7488
MAIN_ARM
protected static final EntityDataAccessor<CompoundTag>
bZ
DATA_SHOULDER_LEFT
field_7496
LEFT_SHOULDER_ENTITY
protected static final EntityDataAccessor<CompoundTag>
ca
DATA_SHOULDER_RIGHT
field_7506
RIGHT_SHOULDER_ENTITY
private long
f
timeEntitySatOnShoulder
field_19428
shoulderEntityAddedTime
final Inventory
g
inventory
field_7514
inventory
protected PlayerEnderChestContainer
cb
enderChestInventory
field_7486
enderChestInventory
public final InventoryMenu
cc
inventoryMenu
field_7498
playerScreenHandler
public AbstractContainerMenu
cd
containerMenu
field_7512
currentScreenHandler
protected FoodData
ce
foodData
field_7493
hungerManager
protected int
cf
jumpTriggerTime
field_7489
abilityResyncCountdown
public float
cg
oBob
field_7505
prevStrideDistance
public float
ch
bob
field_7483
strideDistance
public int
ci
takeXpDelay
field_7504
experiencePickUpDelay
public double
cj
xCloakO
field_7524
prevCapeX
public double
ck
yCloakO
field_7502
prevCapeY
public double
cl
zCloakO
field_7522
prevCapeZ
public double
cm
xCloak
field_7500
capeX
public double
cn
yCloak
field_7521
capeY
public double
co
zCloak
field_7499
capeZ
private int
h
sleepCounter
field_7487
sleepTimer
protected boolean
cp
wasUnderwater
field_7490
isSubmergedInWater
private final Abilities
i
abilities
field_7503
abilities
public int
cq
experienceLevel
field_7520
experienceLevel
public int
cr
totalExperience
field_7495
totalExperience
public float
cs
experienceProgress
field_7510
experienceProgress
protected int
ct
enchantmentSeed
field_7494
enchantingTableSeed
protected final float
cu
defaultFlySpeed
field_7509
field_7509
private int
j
lastLevelUpTime
field_7508
lastPlayedLevelUpSoundTime
private final com.mojang.authlib.GameProfile
k
gameProfile
field_7507
gameProfile
private boolean
cz
reducedDebugInfo
field_7523
reducedDebugInfo
private ItemStack
cC
lastItemInMainHand
field_7525
selectedItem
private final ItemCooldowns
cD
cooldowns
field_7484
itemCooldownManager
private Optional<GlobalPos>
cE
lastDeathLocation
field_39445
lastDeathPos
public FishingHook
cv
fishing
field_7513
fishHook
protected float
cw
hurtDir
field_41765
damageTiltYaw
public Vec3
cx
currentImpulseImpactPos
field_49989
currentExplosionImpactPos
public Entity
cy
currentExplosionCause
field_49990
explodedBy
private boolean
cF
ignoreFallDamageFromCurrentImpulse
field_49991
ignoreFallDamageFromCurrentExplosion
private int
cG
currentImpulseContextResetGraceTime
field_52223
currentExplosionResetGraceTime

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dhi arg0, jh arg1, dhf 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)
public static AttributeSupplier$Builder
fX()
createAttributes()
method_26956()
createPlayerAttributes()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
h()
tick()
method_5773()
tick()
protected float
fq()
getMaxHeadRotationRelativeToBody()
method_53964()
getMaxRelativeHeadRotation()
public boolean
fY()
isSecondaryUseActive()
method_21823()
shouldCancelInteraction()
protected boolean
fZ()
wantsToStopRiding()
method_21824()
shouldDismount()
protected boolean
ga()
isStayingOnGroundSurface()
method_21825()
clipAtLedge()
protected boolean
gb()
updateIsUnderwater()
method_7295()
updateWaterSubmersionState()
public void
l(boolean arg0)
onAboveBubbleCol(boolean arg0)
method_5700(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
public void
m(boolean arg0)
onInsideBubbleColumn(boolean arg0)
method_5764(boolean arg0)
onBubbleColumnCollision(boolean arg0)
private void
m()
turtleHelmetTick()
method_7330()
updateTurtleHelmet()
private boolean
c(cxl arg0)
isEquipped(Item arg0)
method_64179(class_1792 arg0)
isEquipped(Item item)
protected ItemCooldowns
g()
createItemCooldowns()
method_7265()
createCooldownManager()
private void
t()
moveCloak()
method_7313()
updateCapeAngles()
protected void
gc()
updatePlayerPose()
method_7318()
updatePose()
protected boolean
h(bws arg0)
canPlayerFitWithinBlocksAndEntitiesWhen(Pose arg0)
method_52558(class_4050 arg0)
canChangeIntoPose(EntityPose pose)
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected SoundEvent
aW()
getSwimSplashSound()
method_5625()
getSplashSound()
protected SoundEvent
aX()
getSwimHighSpeedSplashSound()
method_5672()
getHighSpeedSplashSound()
public int
bX()
getDimensionChangingDelay()
method_5806()
getDefaultPortalCooldown()
public void
a(axe 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)
public void
a(axe arg0, axg 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)
public SoundSource
dn()
getSoundSource()
method_5634()
getSoundCategory()
protected int
do()
getFireImmuneTicks()
method_5676()
getBurningDuration()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
protected void
p()
closeContainer()
method_7346()
closeHandledScreen()
protected void
q()
doCloseContainer()
method_14247()
onHandledScreenClosed()
public void
r()
rideTick()
method_5842()
tickRiding()
protected void
fu()
serverAiStep()
method_6023()
tickNewAi()
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
j()
tickRegeneration()
method_64400()
tickHunger()
private void
c(ux arg0)
playShoulderEntityAmbientSound(CompoundTag arg0)
method_7267(class_2487 arg0)
updateShoulderEntity(NbtCompound entityNbt)
private void
d(bvk arg0)
touch(Entity arg0)
method_7341(class_1297 arg0)
collideWithEntity(Entity entity)
public int
gd()
getScore()
method_7272()
getScore()
public void
q(int arg0)
setScore(int arg0)
method_7320(int arg0)
setScore(int score)
public void
r(int arg0)
increaseScore(int arg0)
method_7285(int arg0)
addScore(int score)
public void
a(int arg0, float arg1, cxp arg2)
startAutoSpinAttack(int arg0, float arg1, ItemStack arg2)
method_40126(int arg0, float arg1, class_1799 arg2)
useRiptide(int riptideTicks, float riptideAttackDamage, ItemStack stack)
public ItemStack
ea()
getWeaponItem()
method_59958()
getWeaponStack()
public void
a(bua arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
protected void
f(ash arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
dropInventory(ServerWorld arg0)
protected void
ge()
destroyVanishingCursedItems()
method_7293()
vanishCursedItems()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public void
g(cxp arg0)
handleCreativeModeItemDrop(ItemStack arg0)
method_61499(class_1799 arg0)
dropCreativeStack(ItemStack stack)
public ItemEntity
a(cxp arg0, boolean arg1)
drop(ItemStack arg0, boolean arg1)
method_7328(class_1799 arg0, boolean arg1)
dropItem(ItemStack stack, boolean retainOwnership)
public ItemEntity
a(cxp arg0, boolean arg1, boolean arg2)
drop(ItemStack arg0, boolean arg1, boolean arg2)
method_7329(class_1799 arg0, boolean arg1, boolean arg2)
dropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership)
public float
c(dxv arg0)
getDestroySpeed(BlockState arg0)
method_7351(class_2680 arg0)
getBlockBreakingSpeed(BlockState block)
public boolean
d(dxv arg0)
hasCorrectToolForDrops(BlockState arg0)
method_7305(class_2680 arg0)
canHarvest(BlockState state)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public boolean
a(ash arg0, bua arg1)
isInvulnerableTo(ServerLevel arg0, DamageSource arg1)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
public boolean
a(ash arg0, bua 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)
protected void
d(bwg arg0)
blockUsingShield(LivingEntity arg0)
method_6090(class_1309 arg0)
takeShieldHit(LivingEntity arg0)
public boolean
ex()
canBeSeenAsEnemy()
method_33190()
canTakeDamage()
public boolean
a(cpx arg0)
canHarmPlayer(Player arg0)
method_7256(class_1657 arg0)
shouldDamagePlayer(PlayerEntity player)
protected void
c(bua arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
protected void
d(bua arg0, float arg1)
hurtHelmet(DamageSource arg0, float arg1)
method_36977(class_1282 arg0, float arg1)
damageHelmet(DamageSource arg0, float arg1)
protected void
z(float arg0)
hurtCurrentlyUsedShield(float arg0)
method_6056(float arg0)
damageShield(float arg0)
protected void
b(ash arg0, bua 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)
public boolean
aa()
isTextFilteringEnabled()
method_33793()
shouldFilterText()
public void
a(dwk arg0, boolean arg1)
openTextEdit(SignBlockEntity arg0, boolean arg1)
method_7311(class_2625 arg0, boolean arg1)
openEditSignScreen(SignBlockEntity sign, boolean front)
public void
a(dgi arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor)
public void
a(dvh arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity commandBlock)
public void
a(dwp arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
openStructureBlockScreen(StructureBlockBlockEntity structureBlock)
public void
a(dwa arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
openJigsawScreen(JigsawBlockEntity jigsaw)
public void
a(ckb arg0, btc arg1)
openHorseInventory(AbstractHorse arg0, Container arg1)
method_7291(class_1496 arg0, class_1263 arg1)
openHorseInventory(AbstractHorseEntity horse, Inventory inventory)
public OptionalInt
a(btl arg0)
openMenu(MenuProvider arg0)
method_17355(class_3908 arg0)
openHandledScreen(NamedScreenHandlerFactory factory)
public void
a(int arg0, dgg 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)
public void
a(cxp arg0, bti arg1)
openItemGui(ItemStack arg0, InteractionHand arg1)
method_7315(class_1799 arg0, class_1268 arg1)
useBook(ItemStack book, Hand hand)
public InteractionResult
a(bvk arg0, bti arg1)
interactOn(Entity arg0, InteractionHand arg1)
method_7287(class_1297 arg0, class_1268 arg1)
interact(Entity entity, Hand hand)
public void
bQ()
removeVehicle()
method_29239()
dismountVehicle()
protected boolean
fi()
isImmobile()
method_6062()
isImmobile()
public boolean
el()
isAffectedByFluids()
method_29920()
shouldSwimInFluids()
protected Vec3
a(fby arg0, bwk arg1)
maybeBackOffFromEdge(Vec3 arg0, MoverType arg1)
method_18796(class_243 arg0, class_1313 arg1)
adjustMovementForSneaking(Vec3d arg0, MovementType arg1)
private boolean
I(float arg0)
isAboveGround(float arg0)
method_30263(float arg0)
method_30263(float arg0)
private boolean
b(double arg0, double arg1, float arg2)
canFallAtLeast(double arg0, double arg1, float arg2)
method_59818(double arg0, double arg1, float arg2)
isSpaceAroundPlayerEmpty(double offsetX, double offsetZ, float arg2)
public void
e(bvk arg0)
attack(Entity arg0)
method_7324(class_1297 arg0)
attack(Entity target)
protected float
a(bvk arg0, float arg1, bua 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)
protected void
g(bwg arg0)
doAutoAttackOnTouch(LivingEntity arg0)
method_5997(class_1309 arg0)
attackLivingEntity(LivingEntity arg0)
public void
h(cxp arg0)
disableShield(ItemStack arg0)
method_7284(class_1799 arg0)
disableShield(ItemStack shield)
public void
b(bvk arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
addCritParticles(Entity target)
public void
c(bvk arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity target)
public void
gf()
sweepAttack()
method_7263()
spawnSweepAttackParticles()
public void
gg()
respawn()
method_7331()
requestRespawn()
public void
a(bvk$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public boolean
c()
isLocalPlayer()
method_7340()
isMainPlayer()
public com.mojang.authlib.GameProfile
gh()
getGameProfile()
method_7334()
getGameProfile()
public Inventory
gi()
getInventory()
method_31548()
getInventory()
public Abilities
gj()
getAbilities()
method_31549()
getAbilities()
public boolean
fV()
hasInfiniteMaterials()
method_56992()
isInCreativeMode()
public void
a(cxp arg0, cxp arg1, ctm 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)
public boolean
gk()
hasContainerOpen()
method_45015()
shouldCloseHandledScreenOnRespawn()
public boolean
gl()
canDropItems()
method_64271()
canDropItems()
public com.mojang.datafixers.util.Either<Player$BedSleepingProblem, Unit>
a(jh arg0)
startSleepInBed(BlockPos arg0)
method_7269(class_2338 arg0)
trySleep(BlockPos pos)
public void
a(boolean arg0, boolean arg1)
stopSleepInBed(boolean arg0, boolean arg1)
method_7358(boolean arg0, boolean arg1)
wakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers)
public void
fS()
stopSleeping()
method_18400()
wakeUp()
public boolean
gm()
isSleepingLongEnough()
method_7276()
canResetTimeBySleeping()
public int
gn()
getSleepTimer()
method_7297()
getSleepTimer()
public void
a(xv arg0, boolean arg1)
displayClientMessage(Component arg0, boolean arg1)
method_7353(class_2561 arg0, boolean arg1)
sendMessage(Text message, boolean overlay)
public void
a(alz arg0)
awardStat(ResourceLocation arg0)
method_7281(class_2960 arg0)
incrementStat(Identifier stat)
public void
a(alz arg0, int arg1)
awardStat(ResourceLocation arg0, int arg1)
method_7339(class_2960 arg0, int arg1)
increaseStat(Identifier stat, int amount)
public void
b(axm<?> arg0)
awardStat(Stat<?> arg0)
method_7259(class_3445<?> arg0)
incrementStat(Stat<?> stat)
public void
a(axm<?> arg0, int arg1)
awardStat(Stat<?> arg0, int arg1)
method_7342(class_3445<?> arg0, int arg1)
increaseStat(Stat<?> stat, int amount)
public void
a(axm<?> arg0)
resetStat(Stat<?> arg0)
method_7266(class_3445<?> arg0)
resetStat(Stat<?> stat)
public int
a(Collection<dcj<?>> arg0)
awardRecipes(Collection<RecipeHolder<?>> arg0)
method_7254(Collection<class_8786<?>> arg0)
unlockRecipes(Collection<RecipeEntry<?>> recipes)
public void
a(dcj<?> arg0, List<cxp> arg1)
triggerRecipeCrafted(RecipeHolder<?> arg0, List<ItemStack> arg1)
method_51283(class_8786<?> arg0, List<class_1799> arg1)
onRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients)
public void
b(List<aly<dce<?>>> arg0)
awardRecipesByKey(List<ResourceKey<Recipe<?>>> arg0)
method_7335(List<class_5321<class_1860<?>>> arg0)
unlockRecipes(List<RegistryKey<Recipe<?>>> recipes)
public int
b(Collection<dcj<?>> arg0)
resetRecipes(Collection<RecipeHolder<?>> arg0)
method_7333(Collection<class_8786<?>> arg0)
lockRecipes(Collection<RecipeEntry<?>> recipes)
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected boolean
ft()
canGlide()
method_63628()
canGlide()
public void
bp()
updateSwimming()
method_5790()
updateSwimming()
protected boolean
h(jh arg0)
freeAt(BlockPos arg0)
method_7326(class_2338 arg0)
doesNotSuffocate(BlockPos pos)
public float
fp()
getSpeed()
method_6029()
getMovementSpeed()
public boolean
a(float arg0, float arg1, bua arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
public boolean
go()
tryToStartFallFlying()
method_23668()
checkGliding()
public void
gp()
startFallFlying()
method_23669()
startGliding()
public void
gq()
stopFallFlying()
method_23670()
stopGliding()
protected void
bs()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public LivingEntity$Fallsounds
eM()
getFallSounds()
method_39760()
getFallSounds()
public boolean
a(ash arg0, bwg arg1)
killedEntity(ServerLevel arg0, LivingEntity arg1)
method_5874(class_3218 arg0, class_1309 arg1)
onKilledOther(ServerWorld arg0, LivingEntity arg1)
public void
a(dxv arg0, fby arg1)
makeStuckInBlock(BlockState arg0, Vec3 arg1)
method_5844(class_2680 arg0, class_243 arg1)
slowMovement(BlockState arg0, Vec3d arg1)
public void
d(int arg0)
giveExperiencePoints(int arg0)
method_7255(int arg0)
addExperience(int experience)
public int
gr()
getEnchantmentSeed()
method_7278()
getEnchantingTableSeed()
public void
a(cxp arg0, int arg1)
onEnchantmentPerformed(ItemStack arg0, int arg1)
method_7286(class_1799 arg0, int arg1)
applyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels)
public void
c(int arg0)
giveExperienceLevels(int arg0)
method_7316(int arg0)
addExperienceLevels(int levels)
public int
gs()
getXpNeededForNextLevel()
method_7349()
getNextLevelExperience()
public void
G(float arg0)
causeFoodExhaustion(float arg0)
method_7322(float arg0)
addExhaustion(float exhaustion)
public Optional<WardenSpawnTracker>
ac()
getWardenSpawnTracker()
method_42272()
getSculkShriekerWarningManager()
public FoodData
gt()
getFoodData()
method_7344()
getHungerManager()
public boolean
u(boolean arg0)
canEat(boolean arg0)
method_7332(boolean arg0)
canConsume(boolean ignoreHunger)
public boolean
gu()
isHurt()
method_7317()
canFoodHeal()
public boolean
gv()
mayBuild()
method_7294()
canModifyBlocks()
public boolean
a(jh arg0, jm arg1, cxp 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)
protected int
e(ash arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getXpToDrop(ServerWorld arg0)
protected boolean
ep()
isAlwaysExperienceDropper()
method_6071()
shouldAlwaysDropXp()
public boolean
cM()
shouldShowName()
method_5733()
shouldRenderName()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
public void
x()
onUpdateAbilities()
method_7355()
sendAbilitiesUpdate()
public Component
al()
getName()
method_5477()
getName()
public PlayerEnderChestContainer
gw()
getEnderChestInventory()
method_7274()
getEnderChestInventory()
public ItemStack
a(bvs arg0)
getItemBySlot(EquipmentSlot arg0)
method_6118(class_1304 arg0)
getEquippedStack(EquipmentSlot arg0)
protected boolean
b(bvs arg0)
doesEmitEquipEvent(EquipmentSlot arg0)
method_44201(class_1304 arg0)
isArmorSlot(EquipmentSlot arg0)
public void
a(bvs arg0, cxp arg1)
setItemSlot(EquipmentSlot arg0, ItemStack arg1)
method_5673(class_1304 arg0, class_1799 arg1)
equipStack(EquipmentSlot arg0, ItemStack arg1)
public boolean
i(cxp arg0)
addItem(ItemStack arg0)
method_7270(class_1799 arg0)
giveItemStack(ItemStack stack)
public Iterable<ItemStack>
fc()
getHandSlots()
method_5877()
getHandItems()
public Iterable<ItemStack>
fb()
getArmorSlots()
method_5661()
getArmorItems()
public boolean
e(bvs arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
public boolean
h(ux arg0)
setEntityOnShoulder(CompoundTag arg0)
method_7298(class_2487 arg0)
addShoulderEntity(NbtCompound entityNbt)
protected void
gx()
removeEntitiesOnShoulder()
method_7262()
dropShoulderEntities()
private void
k(ux arg0)
respawnEntityOnShoulder(CompoundTag arg0)
method_7296(class_2487 arg0)
dropShoulderEntity(NbtCompound entityNbt)
public abstract boolean
aa_()
isSpectator()
method_7325()
isSpectator()
public boolean
bG()
canBeHitByProjectile()
method_49108()
canBeHitByProjectile()
public boolean
ck()
isSwimming()
method_5681()
isSwimming()
public abstract boolean
b()
isCreative()
method_7337()
isCreative()
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
public Scoreboard
gy()
getScoreboard()
method_7327()
getScoreboard()
public Component
p_()
getDisplayName()
method_5476()
getDisplayName()
private MutableComponent
a(yj arg0)
decorateDisplayNameComponent(MutableComponent arg0)
method_7299(class_5250 arg0)
addTellClickEvent(MutableText component)
public String
cI()
getScoreboardName()
method_5820()
getNameForScoreboard()
protected void
F(float arg0)
internalSetAbsorptionAmount(float arg0)
method_52544(float arg0)
setAbsorptionAmountUnclamped(float arg0)
public float
fw()
getAbsorptionAmount()
method_6067()
getAbsorptionAmount()
public boolean
a(cpy arg0)
isModelPartShown(PlayerModelPart arg0)
method_7348(class_1664 arg0)
isPartVisible(PlayerModelPart modelPart)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
public boolean
gz()
isReducedDebugInfo()
method_7302()
hasReducedDebugInfo()
public void
v(boolean arg0)
setReducedDebugInfo(boolean arg0)
method_7268(boolean arg0)
setReducedDebugInfo(boolean reducedDebugInfo)
public void
h(int arg0)
setRemainingFireTicks(int arg0)
method_20803(int arg0)
setFireTicks(int arg0)
public HumanoidArm
fy()
getMainArm()
method_6068()
getMainArm()
public void
b(bwa arg0)
setMainArm(HumanoidArm arg0)
method_7283(class_1306 arg0)
setMainArm(Arm arm)
public CompoundTag
gA()
getShoulderEntityLeft()
method_7356()
getShoulderEntityLeft()
protected void
i(ux arg0)
setShoulderEntityLeft(CompoundTag arg0)
method_7273(class_2487 arg0)
setShoulderEntityLeft(NbtCompound entityNbt)
public CompoundTag
gB()
getShoulderEntityRight()
method_7308()
getShoulderEntityRight()
protected void
j(ux arg0)
setShoulderEntityRight(CompoundTag arg0)
method_7345(class_2487 arg0)
setShoulderEntityRight(NbtCompound entityNbt)
public float
gC()
getCurrentItemAttackStrengthDelay()
method_7279()
getAttackCooldownProgressPerTick()
public float
H(float arg0)
getAttackStrengthScale(float arg0)
method_7261(float arg0)
getAttackCooldownProgress(float baseTime)
public void
gD()
resetAttackStrengthTicker()
method_7350()
resetLastAttackedTicks()
public ItemCooldowns
gE()
getCooldowns()
method_7357()
getItemCooldownManager()
protected float
aT()
getBlockSpeedFactor()
method_23326()
getVelocityMultiplier()
public float
gF()
getLuck()
method_7292()
getLuck()
public boolean
gG()
canUseGameMasterBlocks()
method_7338()
isCreativeLevelTwoOp()
protected int
G()
getPermissionLevel()
method_5691()
getPermissionLevel()
public boolean
s(int arg0)
hasPermissions(int arg0)
method_64475(int arg0)
hasPermissionLevel(int level)
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public com.google.common.collect.ImmutableList<Pose>
fO()
getDismountPoses()
method_24831()
getPoses()
public ItemStack
d(cxp arg0)
getProjectile(ItemStack arg0)
method_18808(class_1799 arg0)
getProjectileType(ItemStack arg0)
public Vec3
u(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
getLeashPos(float arg0)
public boolean
dV()
isAlwaysTicking()
method_31747()
isPlayer()
public boolean
gH()
isScoping()
method_31550()
isUsingSpyglass()
public boolean
dU()
shouldBeSaved()
method_31746()
shouldSave()
public Optional<GlobalPos>
gI()
getLastDeathLocation()
method_43122()
getLastDeathPos()
public void
c(Optional<jp> arg0)
setLastDeathLocation(Optional<GlobalPos> arg0)
method_43120(Optional<class_4208> arg0)
setLastDeathPos(Optional<GlobalPos> lastDeathPos)
public float
eK()
getHurtDir()
method_48157()
getDamageTiltYaw()
public void
p(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
animateDamage(float arg0)
public boolean
dP()
canSprint()
method_48155()
canSprintAsVehicle()
protected float
fo()
getFlyingSpeed()
method_49484()
getOffGroundSpeed()
public double
gJ()
blockInteractionRange()
method_55754()
getBlockInteractionRange()
public double
gK()
entityInteractionRange()
method_55755()
getEntityInteractionRange()
public boolean
b(bvk arg0, double arg1)
canInteractWithEntity(Entity arg0, double arg1)
method_56094(class_1297 arg0, double arg1)
canInteractWithEntity(Entity entity, double additionalRange)
public boolean
a(fbt arg0, double arg1)
canInteractWithEntity(AABB arg0, double arg1)
method_56092(class_238 arg0, double arg1)
canInteractWithEntityIn(Box box, double additionalRange)
public boolean
a(jh arg0, double arg1)
canInteractWithBlock(BlockPos arg0, double arg1)
method_56093(class_2338 arg0, double arg1)
canInteractWithBlockAt(BlockPos pos, double additionalRange)
public void
w(boolean arg0)
setIgnoreFallDamageFromCurrentImpulse(boolean arg0)
method_60984(boolean arg0)
setIgnoreFallDamageFromCurrentExplosion(boolean ignoreFallDamageFromCurrentExplosion)
public boolean
gL()
isIgnoringFallDamageFromCurrentImpulse()
method_61165()
shouldIgnoreFallDamageFromCurrentExplosion()
public void
gM()
tryResetCurrentImpulseContext()
method_60983()
tryClearCurrentExplosion()
public void
gN()
resetCurrentImpulseContext()
method_58396()
clearCurrentExplosion()
public boolean
gO()
shouldRotateWithMinecart()
method_61498()
shouldRotateWithMinecart()
public boolean
dj()
isControlledByClient()
method_65038()
isControlledByPlayer()