net.minecraft.client.player

public class LocalPlayer

extends AbstractClientPlayer

All mapped superinterfaces:

Nameable, CommandSource

dzm
net.minecraft.client.player.LocalPlayer
net.minecraft.class_746
net.minecraft.client.network.ClientPlayerEntity
net.minecraft.client.entity.player.ClientPlayerEntity

Field summary

Modifier and TypeField
public final ClientPacketListener
e
connection
field_3944
networkHandler
field_71174_a
private final StatsCounter
bR
stats
field_3928
statHandler
field_146108_bO
private final ClientRecipeBook
bS
recipeBook
field_3930
recipeBook
field_192036_cb
private final List<AmbientSoundHandler>
bT
ambientSoundHandlers
field_3933
tickables
field_204232_cf
private int
bU
permissionLevel
field_3912
clientPermissionLevel
field_184845_bX
private double
bV
xLast
field_3926
lastX
field_175172_bI
private double
bW
yLast1
field_3940
lastBaseY
field_175166_bJ
private double
bX
zLast
field_3924
lastZ
field_175167_bK
private float
bY
yRotLast
field_3941
lastYaw
field_175164_bL
private float
bZ
xRotLast
field_3925
lastPitch
field_175165_bM
private boolean
ca
lastOnGround
field_3920
lastOnGround
field_184841_cd
private boolean
cb
crouching
field_23093
inSneakingPose
field_239203_ch_
private boolean
cc
wasShiftKeyDown
field_3936
lastSneaking
field_228351_cj_
private boolean
cd
wasSprinting
field_3919
lastSprinting
field_175171_bO
private int
ce
positionReminder
field_3923
ticksSinceLastPositionPacketSent
field_175168_bP
private boolean
cf
flashOnSetHealth
field_3918
healthInitialized
field_175169_bQ
private String
cg
serverBrand
field_3943
serverBrand
field_142022_ce
public Input
f
input
field_3913
input
field_71158_b
protected final Minecraft
g
minecraft
field_3937
client
field_71159_c
protected int
bJ
sprintTriggerTime
field_3935
ticksLeftToDoubleTapSprint
field_71156_d
public int
bK
sprintTime
field_3921
ticksSinceSprintingChanged
field_71157_e
public float
bL
yBob
field_3932
renderYaw
field_71154_f
public float
bM
xBob
field_3916
renderPitch
field_71155_g
public float
bN
yBobO
field_3931
lastRenderYaw
field_71163_h
public float
bO
xBobO
field_3914
lastRenderPitch
field_71164_i
private int
ch
jumpRidingTicks
field_3938
field_3938
field_110320_a
private float
ci
jumpRidingScale
field_3922
field_3922
field_110321_bQ
public float
bP
portalTime
field_3929
nextNauseaStrength
field_71086_bY
public float
bQ
oPortalTime
field_3911
lastNauseaStrength
field_71080_cy
private boolean
cj
startedUsingItem
field_3915
usingItem
field_184842_cm
private InteractionHand
ck
usingItemHand
field_3945
activeHand
field_184843_cn
private boolean
cl
handsBusy
field_3942
riding
field_184844_co
private boolean
cm
autoJumpEnabled
field_3927
autoJumpEnabled
field_189811_cr
private int
cn
autoJumpTime
field_3934
ticksToNextAutojump
field_189812_cs
private boolean
co
wasFallFlying
field_3939
field_3939
field_189813_ct
private int
cp
waterVisionTime
field_3917
underwaterVisibilityTicks
field_203720_cz
private boolean
cq
showDeathScreen
field_20663
showsDeathScreen
field_228352_cx_

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(apk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
b(float arg0)
heal(float arg0)
method_6025(float arg0)
heal(float arg0)
func_70691_i(float arg0)
heal(float arg0)
public boolean
a(aqa arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
method_5873(class_1297 arg0, boolean arg1)
startRiding(Entity arg0, boolean arg1)
func_184205_a(Entity arg0, boolean arg1)
public void
bf()
removeVehicle()
method_29239()
method_29239()
func_233575_bb_()
public float
g(float arg0)
getViewXRot(float arg0)
method_5695(float arg0)
getPitch(float arg0)
func_195050_f(float arg0)
public float
h(float arg0)
getViewYRot(float arg0)
method_5705(float arg0)
getYaw(float arg0)
func_195046_g(float arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public float
w()
getCurrentMood()
method_26269()
getMoodPercentage()
func_239206_w_()
private void
O()
sendPosition()
method_3136()
sendMovementPackets()
func_175161_p()
public boolean
a(boolean arg0)
drop(boolean arg0)
method_7290(boolean arg0)
dropSelectedItem(boolean arg0)
func_225609_n_(boolean arg0)
dropItem(boolean arg0)
public void
f(String arg0)
chat(String arg0)
method_3142(String arg0)
sendChatMessage(String message)
func_71165_d(String arg0)
public void
a(aot arg0)
swing(InteractionHand arg0)
method_6104(class_1268 arg0)
swingHand(Hand arg0)
func_184609_a(Hand arg0)
swingHand(EnumHand arg0)
public void
ey()
respawn()
method_7331()
requestRespawn()
func_71004_bE()
protected void
e(apk arg0, float arg1)
actuallyHurt(DamageSource arg0, float arg1)
method_6074(class_1282 arg0, float arg1)
applyDamage(DamageSource arg0, float arg1)
func_70665_d(DamageSource arg0, float arg1)
damageEntity0(DamageSource arg0, float arg1)
public void
m()
closeContainer()
method_7346()
closeHandledScreen()
func_71053_j()
closeInventory()
public void
x()
clientSideCloseContainer()
method_3137()
closeScreen()
func_175159_q()
public void
v(float arg0)
hurtTo(float arg0)
method_3138(float arg0)
updateHealth(float health)
func_71150_b(float arg0)
public void
t()
onUpdateAbilities()
method_7355()
sendAbilitiesUpdate()
func_71016_p()
updateAbilities()
public boolean
ez()
isLocalPlayer()
method_7340()
isMainPlayer()
func_175144_cb()
public boolean
ee()
isSuppressingSlidingDownLadder()
method_21754()
isHoldingOntoLadder()
func_230491_ea_()
public boolean
aO()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
func_230269_aK_()
public boolean
cN()
canSpawnSoulSpeedParticle()
method_27302()
shouldDisplaySoulSpeedEffects()
func_230490_cK_()
protected void
z()
sendRidingJump()
method_3133()
startRidingJump()
func_110318_g()
public void
A()
sendOpenInventory()
method_3132()
openRidingInventory()
func_175163_u()
public void
g(String arg0)
setServerBrand(String arg0)
method_3146(String arg0)
setServerBrand(String serverBrand)
func_175158_f(String arg0)
public String
B()
getServerBrand()
method_3135()
getServerBrand()
func_142021_k()
public StatsCounter
D()
getStats()
method_3143()
getStatHandler()
func_146107_m()
public ClientRecipeBook
F()
getRecipeBook()
method_3130()
getRecipeBook()
func_199507_B()
public void
a(boq<?> arg0)
removeRecipeHighlight(Recipe<?> arg0)
method_3141(class_1860<?> arg0)
onRecipeDisplayed(Recipe<?> recipe)
func_193103_a(IRecipe<?> arg0)
protected int
y()
getPermissionLevel()
method_5691()
getPermissionLevel()
func_184840_I()
public void
a(int arg0)
setPermissionLevel(int arg0)
method_3147(int arg0)
setClientPermissionLevel(int clientPermissionLevel)
func_184839_n(int arg0)
public void
a(nr arg0, boolean arg1)
displayClientMessage(Component arg0, boolean arg1)
method_7353(class_2561 arg0, boolean arg1)
sendMessage(Text arg0, boolean arg1)
func_146105_b(ITextComponent arg0, boolean arg1)
private void
b(double arg0, double arg1)
moveTowardsClosestSpace(double arg0, double arg1)
method_30673(double arg0, double arg1)
pushOutOfBlocks(double x, double arg1)
func_244389_i(double arg0, double arg1)
private boolean
g(fx arg0)
suffocatesAt(BlockPos arg0)
method_30674(class_2338 arg0)
wouldCollideAt(BlockPos pos)
func_205027_h(BlockPos arg0)
public void
g(boolean arg0)
setSprinting(boolean arg0)
method_5728(boolean arg0)
setSprinting(boolean arg0)
func_70031_b(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)
setExperience(float progress, int total, int level)
func_71152_a(float arg0, int arg1, int arg2)
public void
a(nr arg0, UUID arg1)
sendMessage(Component arg0, UUID arg1)
method_9203(class_2561 arg0, UUID arg1)
sendSystemMessage(Text arg0, UUID arg1)
func_145747_a(ITextComponent arg0, UUID arg1)
sendMessage(IChatBaseComponent arg0, UUID arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public void
b(boolean arg0)
setShowDeathScreen(boolean arg0)
method_22420(boolean arg0)
setShowsDeathScreen(boolean shouldShow)
func_228355_a_(boolean arg0)
public boolean
G()
shouldShowDeathScreen()
method_22419()
showsDeathScreen()
func_228353_F_()
public void
a(adp 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)
func_184185_a(SoundEvent arg0, float arg1, float arg2)
playSound(SoundEffect arg0, float arg1, float arg2)
public void
a(adp arg0, adr 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)
playSound(SoundEvent arg0, SoundCategory arg1, float arg2, float arg3)
func_213823_a(SoundEvent arg0, SoundCategory arg1, float arg2, float arg3)
public boolean
dS()
isEffectiveAi()
method_6034()
canMoveVoluntarily()
func_70613_aW()
doAITick()
public void
c(aot arg0)
startUsingItem(InteractionHand arg0)
method_6019(class_1268 arg0)
setCurrentHand(Hand arg0)
func_184598_c(Hand arg0)
public boolean
dW()
isUsingItem()
method_6115()
isUsingItem()
func_184587_cr()
isHandRaised()
public void
ec()
stopUsingItem()
method_6021()
clearActiveItem()
func_184602_cy()
clearActiveItem()
public InteractionHand
dX()
getUsedItemHand()
method_6058()
getActiveHand()
func_184600_cs()
getRaisedHand()
public void
a(us<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public boolean
H()
isRidingJumpable()
method_3131()
hasJumpingMount()
func_110317_t()
public float
I()
getJumpRidingScale()
method_3151()
method_3151()
func_110319_bJ()
public void
a(cdf arg0)
openTextEdit(SignBlockEntity arg0)
method_7311(class_2625 arg0)
openEditSignScreen(SignBlockEntity arg0)
func_175141_a(SignTileEntity arg0)
openSign(TileEntitySign arg0)
public void
a(bqy arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor arg0)
func_184809_a(CommandBlockLogic arg0)
public void
a(cco arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity arg0)
func_184824_a(CommandBlockTileEntity arg0)
public void
a(cdj arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
openStructureBlockScreen(StructureBlockBlockEntity arg0)
func_189807_a(StructureBlockTileEntity arg0)
public void
a(ccz arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
openJigsawScreen(JigsawBlockEntity arg0)
func_213826_a(JigsawTileEntity arg0)
public void
a(bmb arg0, aot arg1)
openItemGui(ItemStack arg0, InteractionHand arg1)
method_7315(class_1799 arg0, class_1268 arg1)
useBook(ItemStack arg0, Hand arg1)
func_184814_a(ItemStack arg0, Hand arg1)
openBook(ItemStack arg0, EnumHand arg1)
public void
a(aqa arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
addCritParticles(Entity arg0)
func_71009_b(Entity arg0)
public void
b(aqa arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity arg0)
func_71047_c(Entity arg0)
public boolean
bu()
isShiftKeyDown()
method_5715()
isSneaking()
func_225608_bj_()
isSneaking()
public boolean
bz()
isCrouching()
method_18276()
isInSneakingPose()
func_213453_ef()
public boolean
J()
isMovingSlowly()
method_20303()
shouldSlowDown()
func_228354_I_()
public void
dP()
serverAiStep()
method_6023()
tickNewAi()
func_70626_be()
doTick()
protected boolean
K()
isControlledCamera()
method_3134()
isCamera()
func_175160_A()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private void
Q()
handleNetherPortalClient()
method_18654()
updateNausea()
func_213839_ed()
public void
ba()
rideTick()
method_5842()
tickRiding()
func_70098_U()
passengerTick()
public boolean
L()
isHandsBusy()
method_3144()
isRiding()
func_184838_M()
public MobEffectInstance
c(aps arg0)
removeEffectNoUpdate(MobEffect arg0)
method_6111(class_1291 arg0)
removeStatusEffectInternal(StatusEffect arg0)
func_184596_c(Effect arg0)
public void
a(aqr arg0, dcn arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
func_213315_a(MoverType arg0, Vector3d arg1)
move(EnumMoveType arg0, Vec3D arg1)
public boolean
M()
isAutoJumpEnabled()
method_3149()
isAutoJumpEnabled()
func_189809_N()
protected void
g(float arg0, float arg1)
updateAutoJump(float arg0, float arg1)
method_3148(float arg0, float arg1)
autoJump(float dx, float dz)
func_189810_i(float arg0, float arg1)
private boolean
eW()
canAutoJump()
method_22119()
shouldAutoJump()
func_228356_eG_()
private boolean
eX()
isMoving()
method_22120()
hasMovementInput()
func_228357_eH_()
private boolean
eY()
hasEnoughImpulseToStartSprinting()
method_20623()
isWalking()
func_223110_ee()
public float
N()
getWaterVision()
method_3140()
getUnderwaterVisibility()
func_203719_J()
public boolean
aI()
isUnderWater()
method_5869()
isSubmergedInWater()
func_204231_K()
protected boolean
et()
updateIsUnderwater()
method_7295()
updateWaterSubmersionState()
func_204229_de()
public Vec3
o(float arg0)
getRopeHoldPosition(float arg0)
method_30951(float arg0)
method_30951(float arg0)
func_241843_o(float arg0)