net.minecraft.client.player

public class LocalPlayer

extends AbstractClientPlayer

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

eml
net.minecraft.client.player.LocalPlayer
net.minecraft.class_746
net.minecraft.unmapped.C_jlopmfei
net.minecraft.client.network.ClientPlayerEntity
net.minecraft.src.C_4105_

Field summary

Modifier and TypeField
private static final int
cI
POSITION_REMINDER_INTERVAL
field_32671
f_mqfjjgge
field_32671
f_172525_
private static final int
cJ
WATER_VISION_MAX_TIME
field_32672
f_atzeoass
field_32672
f_172526_
private static final int
cK
WATER_VISION_QUICK_TIME
field_32673
f_vebkyfkt
field_32673
f_172527_
private static final float
cL
WATER_VISION_QUICK_PERCENT
field_32674
f_gsxrispj
field_32674
f_172528_
private static final double
cM
SUFFOCATING_COLLISION_CHECK_SCALE
field_32675
f_idtbroqj
field_32675
f_172529_
public final ClientPacketListener
cx
connection
field_3944
f_syjuhyvi
networkHandler
f_108617_
private final StatsCounter
cN
stats
field_3928
f_bxbatcpa
statHandler
f_108591_
private final ClientRecipeBook
cO
recipeBook
field_3930
f_dgnqpmdg
recipeBook
f_108592_
private final List<AmbientSoundHandler>
cP
ambientSoundHandlers
field_3933
f_ctxbxcto
tickables
f_108593_
private int
cQ
permissionLevel
field_3912
f_fkcgnsmh
clientPermissionLevel
f_108594_
private double
cR
xLast
field_3926
f_rtneahro
lastX
f_108595_
private double
cS
yLast1
field_3940
f_hsppborn
lastBaseY
f_108596_
private double
cT
zLast
field_3924
f_xryucszr
lastZ
f_108597_
private float
cU
yRotLast
field_3941
f_sauvdttc
lastYaw
f_108598_
private float
cV
xRotLast
field_3925
f_fkrjflpe
lastPitch
f_108599_
private boolean
cW
lastOnGround
field_3920
f_uynrsldw
lastOnGround
f_108600_
private boolean
cX
crouching
field_23093
f_lonrepuj
inSneakingPose
f_108601_
private boolean
cY
wasShiftKeyDown
field_3936
f_elhewhfa
lastSneaking
f_108602_
private boolean
cZ
wasSprinting
field_3919
f_iqzqxmpg
lastSprinting
f_108603_
private int
da
positionReminder
field_3923
f_zxxybkqq
ticksSinceLastPositionPacketSent
f_108604_
private boolean
db
flashOnSetHealth
field_3918
f_usxefjxe
healthInitialized
f_108605_
private String
dc
serverBrand
field_3943
f_nadpbddn
serverBrand
f_108606_
public Input
cy
input
field_3913
f_sbnghqwd
input
f_108618_
protected final Minecraft
cz
minecraft
field_3937
f_aufxggqt
client
f_108619_
protected int
cA
sprintTriggerTime
field_3935
f_kkjehvrb
ticksLeftToDoubleTapSprint
f_108583_
public int
cB
sprintTime
field_3921
f_bftxhzvb
ticksSinceSprintingChanged
f_108584_
public float
cC
yBob
field_3932
f_rdioexdo
renderYaw
f_108585_
public float
cD
xBob
field_3916
f_fvtymsal
renderPitch
f_108586_
public float
cE
yBobO
field_3931
f_weecdoml
lastRenderYaw
f_108587_
public float
cF
xBobO
field_3914
f_irzjhfpc
lastRenderPitch
f_108588_
private int
dd
jumpRidingTicks
field_3938
f_mxmeeeog
field_3938
f_108607_
private float
de
jumpRidingScale
field_3922
f_cscipsrr
mountJumpStrength
f_108608_
public float
cG
portalTime
field_3929
f_nwzjwwoi
nextNauseaStrength
f_108589_
public float
cH
oPortalTime
field_3911
f_rjnrfzsa
lastNauseaStrength
f_108590_
private boolean
df
startedUsingItem
field_3915
f_rudpemlr
usingItem
f_108609_
private InteractionHand
dg
usingItemHand
field_3945
f_nbhshtxz
activeHand
f_108610_
private boolean
dh
handsBusy
field_3942
f_bfvigirz
riding
f_108611_
private boolean
di
autoJumpEnabled
field_3927
f_huxwifqq
autoJumpEnabled
f_108612_
private int
dj
autoJumpTime
field_3934
f_awtfnari
ticksToNextAutojump
f_108613_
private boolean
dk
wasFallFlying
field_3939
f_zkrtgbyu
falling
f_108614_
private int
dl
waterVisionTime
field_3917
f_niojzjyv
underwaterVisibilityTicks
f_108615_
private boolean
dm
showDeathScreen
field_20663
f_lnothlou
showsDeathScreen
f_108616_

Constructor summary

ModifierConstructor
public (Minecraft client, ClientLevel world, ClientPacketListener networkHandler, StatsCounter stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)

Method summary

Modifier and TypeMethod
public boolean
a(asp arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_108663_, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
b(float arg0)
heal(float arg0)
method_6025(float arg0)
m_orzhhcmg(float arg0)
heal(float arg0)
m_5634_(float arg0)
heal(float arg0)
public boolean
a(atf arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
m_hvcwbybh(C_astfners arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
m_7998_(C_507_ p_108668_, boolean arg1)
public void
bo()
removeVehicle()
method_29239()
m_gwopyrde()
dismountVehicle()
m_6038_()
public float
f(float arg0)
getViewXRot(float arg0)
method_5695(float arg0)
m_rwwlsvsi(float arg0)
getPitch(float arg0)
m_5686_(float arg0)
public float
g(float arg0)
getViewYRot(float arg0)
method_5705(float arg0)
m_xoogehdd(float arg0)
getYaw(float arg0)
m_5675_(float arg0)
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
public float
q()
getCurrentMood()
method_26269()
m_iaefsihn()
getMoodPercentage()
m_108762_()
private void
L()
sendPosition()
method_3136()
m_rlbaeyze()
sendMovementPackets()
m_108640_()
public boolean
a(boolean arg0)
drop(boolean arg0)
method_7290(boolean arg0)
m_swgooexs(boolean arg0)
dropSelectedItem(boolean arg0)
m_6803_(boolean arg0)
dropItem(boolean arg0)
public void
e(String arg0)
chat(String arg0)
method_3142(String arg0)
m_fycfcvrr(String arg0)
sendChatMessage(String message)
m_108739_(String arg0)
public void
a(arz arg0)
swing(InteractionHand arg0)
method_6104(class_1268 arg0)
m_xgwxqkgb(C_laxmzoqs arg0)
swingHand(Hand arg0)
m_6674_(C_470_ arg0)
swingHand(EnumHand arg0)
public void
fg()
respawn()
method_7331()
m_srbgfavo()
requestRespawn()
m_7583_()
protected void
f(asp arg0, float arg1)
actuallyHurt(DamageSource arg0, float arg1)
method_6074(class_1282 arg0, float arg1)
m_unmnupmt(C_sbxfkpyv arg0, float arg1)
applyDamage(DamageSource arg0, float arg1)
m_6475_(C_489_ p_108730_, float arg1)
damageEntity0(DamageSource arg0, float arg1)
public void
n()
closeContainer()
method_7346()
m_enadbzil()
closeHandledScreen()
m_6915_()
closeInventory()
public void
r()
clientSideCloseContainer()
method_3137()
m_kdhhfsoy()
closeScreen()
m_108763_()
public void
w(float arg0)
hurtTo(float arg0)
method_3138(float arg0)
m_cyqhtqzg(float arg0)
updateHealth(float health)
m_108760_(float arg0)
public void
t()
onUpdateAbilities()
method_7355()
m_gvkpkpeh()
sendAbilitiesUpdate()
m_6885_()
updateAbilities()
public boolean
fh()
isLocalPlayer()
method_7340()
m_jnzfvwue()
isMainPlayer()
m_7578_()
public boolean
eM()
isSuppressingSlidingDownLadder()
method_21754()
m_wmvelibz()
isHoldingOntoLadder()
m_5791_()
public boolean
aV()
canSpawnSprintParticle()
method_27298()
m_chpxygjr()
shouldSpawnSprintingParticles()
m_5843_()
public boolean
ds()
canSpawnSoulSpeedParticle()
method_27302()
m_nffkdjyj()
shouldDisplaySoulSpeedEffects()
m_6039_()
protected void
u()
sendRidingJump()
method_3133()
m_gxezutim()
startRidingJump()
m_108765_()
public void
v()
sendOpenInventory()
method_3132()
m_lusupfra()
openRidingInventory()
m_108628_()
public void
f(String arg0)
setServerBrand(String arg0)
method_3146(String arg0)
m_rtbvissp(String arg0)
setServerBrand(String serverBrand)
m_108748_(String arg0)
public String
w()
getServerBrand()
method_3135()
m_wizdihxh()
getServerBrand()
m_108629_()
public StatsCounter
x()
getStats()
method_3143()
m_bzkhmdji()
getStatHandler()
m_108630_()
public ClientRecipeBook
z()
getRecipeBook()
method_3130()
m_ibxwqidi()
getRecipeBook()
m_108631_()
public void
a(bth<?> arg0)
removeRecipeHighlight(Recipe<?> arg0)
method_3141(class_1860<?> arg0)
m_hfpiizip(C_awrmdwqd<?> arg0)
onRecipeDisplayed(Recipe<?> recipe)
m_108675_(C_1469_<?> arg0)
protected int
y()
getPermissionLevel()
method_5691()
m_wcqwgwbx()
getPermissionLevel()
m_8088_()
public void
a(int arg0)
setPermissionLevel(int arg0)
method_3147(int arg0)
m_spcgxwbg(int arg0)
setClientPermissionLevel(int clientPermissionLevel)
m_108648_(int arg0)
public void
a(os arg0, boolean arg1)
displayClientMessage(Component arg0, boolean arg1)
method_7353(class_2561 arg0, boolean arg1)
m_gozwojpw(C_rdaqiwdt arg0, boolean arg1)
sendMessage(Text arg0, boolean arg1)
m_5661_(C_4996_ p_108697_, boolean arg1)
private void
b(double arg0, double arg1)
moveTowardsClosestSpace(double arg0, double arg1)
method_30673(double arg0, double arg1)
m_qjxxuqlz(double arg0, double arg1)
pushOutOfBlocks(double x, double z)
m_108704_(double p_108706_, double arg1)
private boolean
g(gg arg0)
suffocatesAt(BlockPos arg0)
method_30674(class_2338 arg0)
m_hcfpmyto(C_hynzadkk arg0)
wouldCollideAt(BlockPos pos)
m_108746_(C_4675_ arg0)
public void
g(boolean arg0)
setSprinting(boolean arg0)
method_5728(boolean arg0)
m_zhcmfcni(boolean arg0)
setSprinting(boolean arg0)
m_6858_(boolean arg0)
setSprinting(boolean arg0)
public void
a(float arg0, int arg1, int arg2)
setExperienceValues(float arg0, int arg1, int arg2)
method_3145(float arg0, int arg1, int arg2)
m_upzlykxr(float arg0, int arg1, int arg2)
setExperience(float progress, int total, int level)
m_108644_(float p_108646_, int p_108647_, int arg2)
public void
a(os arg0, UUID arg1)
sendMessage(Component arg0, UUID arg1)
method_9203(class_2561 arg0, UUID arg1)
m_sqlakfrg(C_rdaqiwdt arg0, UUID arg1)
sendSystemMessage(Text arg0, UUID arg1)
m_6352_(C_4996_ p_108694_, UUID arg1)
sendMessage(IChatBaseComponent arg0, UUID arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
b(boolean arg0)
setShowDeathScreen(boolean arg0)
method_22420(boolean arg0)
m_qkbjfhbb(boolean arg0)
setShowsDeathScreen(boolean shouldShow)
m_108711_(boolean arg0)
public boolean
A()
shouldShowDeathScreen()
method_22419()
m_xzwqqutd()
showsDeathScreen()
m_108632_()
public void
a(afd arg0, float arg1, float arg2)
playSound(SoundEvent arg0, float arg1, float arg2)
method_5783(class_3414 arg0, float arg1, float arg2)
m_vnmuvzqi(C_avavozay arg0, float arg1, float arg2)
playSound(SoundEvent arg0, float arg1, float arg2)
m_5496_(C_123_ p_108652_, float p_108653_, float arg2)
playSound(SoundEffect arg0, float arg1, float arg2)
public void
a(afd arg0, aff 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)
m_cbytqozy(C_avavozay arg0, C_pqzizukq arg1, float arg2, float arg3)
playSound(SoundEvent arg0, SoundCategory arg1, float arg2, float arg3)
m_6330_(C_123_ p_108656_, C_125_ p_108657_, float p_108658_, float arg3)
public boolean
eA()
isEffectiveAi()
method_6034()
m_lthebshd()
canMoveVoluntarily()
m_6142_()
doAITick()
public void
c(arz arg0)
startUsingItem(InteractionHand arg0)
method_6019(class_1268 arg0)
m_ayeajhdm(C_laxmzoqs arg0)
setCurrentHand(Hand arg0)
m_6672_(C_470_ arg0)
public boolean
eE()
isUsingItem()
method_6115()
m_orzuenpv()
isUsingItem()
m_6117_()
isHandRaised()
public void
eK()
stopUsingItem()
method_6021()
m_fqywfcul()
clearActiveItem()
m_5810_()
clearActiveItem()
public InteractionHand
eF()
getUsedItemHand()
method_6058()
m_fgldaguj()
getActiveHand()
m_7655_()
getRaisedHand()
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_prrlvbmi(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
B()
isRidingJumpable()
method_3131()
m_eqzihctk()
hasJumpingMount()
m_108633_()
public float
D()
getJumpRidingScale()
method_3151()
m_viqbkvwk()
getMountJumpStrength()
m_108634_()
public void
a(cjp arg0)
openTextEdit(SignBlockEntity arg0)
method_7311(class_2625 arg0)
m_gdwvdivl(C_axouvzlg arg0)
openEditSignScreen(SignBlockEntity arg0)
m_7739_(C_2024_ arg0)
openSign(TileEntitySign arg0)
public void
a(bvp arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
m_lmevcwqf(C_ufmydvnm arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor arg0)
m_7907_(C_1553_ arg0)
public void
a(ciw arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
m_yhpkrzzv(C_qpgfeghp arg0)
openCommandBlockScreen(CommandBlockBlockEntity arg0)
m_7698_(C_1998_ arg0)
public void
a(cjt arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
m_dbuvscbh(C_bfrzytnu arg0)
openStructureBlockScreen(StructureBlockBlockEntity arg0)
m_5966_(C_2029_ arg0)
public void
a(cji arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
m_tjcxwbpg(C_epwegwuj arg0)
openJigsawScreen(JigsawBlockEntity arg0)
m_7569_(C_2011_ arg0)
public void
a(bqp arg0, arz arg1)
openItemGui(ItemStack arg0, InteractionHand arg1)
method_7315(class_1799 arg0, class_1268 arg1)
m_pjxfwdrg(C_sddaxwyk arg0, C_laxmzoqs arg1)
useBook(ItemStack arg0, Hand arg1)
m_6986_(C_1391_ p_108674_, C_470_ arg1)
openBook(ItemStack arg0, EnumHand arg1)
public void
a(atf arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
m_yscaqmsb(C_astfners arg0)
addCritParticles(Entity arg0)
m_5704_(C_507_ arg0)
public void
b(atf arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
m_yoqvnsaz(C_astfners arg0)
addEnchantedHitParticles(Entity arg0)
m_5700_(C_507_ arg0)
public boolean
bD()
isShiftKeyDown()
method_5715()
m_eyjjblao()
isSneaking()
m_6144_()
isSneaking()
public boolean
bI()
isCrouching()
method_18276()
m_oqgpazne()
isInSneakingPose()
m_6047_()
isCrouching()
public boolean
F()
isMovingSlowly()
method_20303()
m_cawwfaef()
shouldSlowDown()
m_108635_()
public void
ex()
serverAiStep()
method_6023()
m_otdsojah()
tickNewAi()
m_6140_()
doTick()
protected boolean
G()
isControlledCamera()
method_3134()
m_cxdlzmge()
isCamera()
m_108636_()
public void
H()
resetPos()
method_33689()
m_ohhpabab()
init()
m_172530_()
public void
u_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
m_8107_()
movementTick()
protected void
dB()
tickDeath()
method_6108()
m_ndbwdqzx()
updatePostDeath()
m_6153_()
private void
M()
handleNetherPortalClient()
method_18654()
m_xdficjfl()
updateNausea()
m_108641_()
public void
bj()
rideTick()
method_5842()
m_qchceppc()
tickRiding()
m_6083_()
passengerTick()
public boolean
I()
isHandsBusy()
method_3144()
m_wnyjanfc()
isRiding()
m_108637_()
public MobEffectInstance
c(asx arg0)
removeEffectNoUpdate(MobEffect arg0)
method_6111(class_1291 arg0)
m_gmtlgjgb(C_jaqasomh arg0)
removeStatusEffectInternal(StatusEffect arg0)
m_6234_(C_496_ arg0)
public void
a(atz arg0, dna arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_108671_, C_3046_ arg1)
move(EnumMoveType arg0, Vec3D arg1)
public boolean
J()
isAutoJumpEnabled()
method_3149()
m_mwnueopu()
isAutoJumpEnabled()
m_108638_()
protected void
f(float arg0, float arg1)
updateAutoJump(float arg0, float arg1)
method_3148(float arg0, float arg1)
m_sevuwqfe(float arg0, float arg1)
autoJump(float dx, float dz)
m_108743_(float p_108745_, float arg1)
private boolean
N()
canAutoJump()
method_22119()
m_nxuownoi()
shouldAutoJump()
m_108731_()
private boolean
O()
isMoving()
method_22120()
m_xfculten()
hasMovementInput()
m_108732_()
private boolean
Q()
hasEnoughImpulseToStartSprinting()
method_20623()
m_vpbjdgjd()
isWalking()
m_108733_()
public float
K()
getWaterVision()
method_3140()
m_fjkurxla()
getUnderwaterVisibility()
m_108639_()
public boolean
aP()
isUnderWater()
method_5869()
m_bqujtsnz()
isSubmergedInWater()
m_5842_()
protected boolean
fb()
updateIsUnderwater()
method_7295()
m_veqhacwa()
updateWaterSubmersionState()
m_7602_()
public Vec3
n(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
m_grytvnwh(float arg0)
method_30951(float arg0)
m_7398_(float arg0)
public void
a(bqp arg0, bqp arg1, bmr arg2)
updateTutorialInventoryAction(ItemStack arg0, ItemStack arg1, ClickAction arg2)
method_33592(class_1799 arg0, class_1799 arg1, class_5536 arg2)
m_gmsleptb(C_sddaxwyk arg0, C_sddaxwyk arg1, C_qcuteihm arg2)
onPickupSlotClick(ItemStack arg0, ItemStack arg1, ClickType arg2)
m_141945_(C_1391_ p_172533_, C_1391_ p_172534_, C_141163_ arg2)