net.minecraft.client.player

public class LocalPlayer

extends AbstractClientPlayer

All mapped superinterfaces:

Nameable, CommandSource

ebf
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
bY
stats
field_3928
statHandler
field_146108_bO
private final ClientRecipeBook
bZ
recipeBook
field_3930
recipeBook
field_192036_cb
private final List<AmbientSoundHandler>
ca
ambientSoundHandlers
field_3933
tickables
field_204232_cf
private int
cb
permissionLevel
field_3912
clientPermissionLevel
field_184845_bX
private double
cc
xLast
field_3926
lastX
field_175172_bI
private double
cd
yLast1
field_3940
lastBaseY
field_175166_bJ
private double
ce
zLast
field_3924
lastZ
field_175167_bK
private float
cf
yRotLast
field_3941
lastYaw
field_175164_bL
private float
cg
xRotLast
field_3925
lastPitch
field_175165_bM
private boolean
ch
lastOnGround
field_3920
lastOnGround
field_184841_cd
private boolean
ci
crouching
field_23093
field_23093
field_239203_ch_
private boolean
cj
wasShiftKeyDown
field_3936
lastIsHoldingSneakKey
field_228351_cj_
private boolean
ck
wasSprinting
field_3919
lastSprinting
field_175171_bO
private int
cl
positionReminder
field_3923
ticksSinceLastPositionPacketSent
field_175168_bP
private boolean
cm
flashOnSetHealth
field_3918
healthInitialized
field_175169_bQ
private String
cn
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
bQ
sprintTriggerTime
field_3935
ticksLeftToDoubleTapSprint
field_71156_d
public int
bR
sprintTime
field_3921
ticksSinceSprintingChanged
field_71157_e
public float
bS
yBob
field_3932
renderYaw
field_71154_f
public float
bT
xBob
field_3916
renderPitch
field_71155_g
public float
bU
yBobO
field_3931
lastRenderYaw
field_71163_h
public float
bV
xBobO
field_3914
lastRenderPitch
field_71164_i
private int
co
jumpRidingTicks
field_3938
field_3938
field_110320_a
private float
cp
jumpRidingScale
field_3922
field_3922
field_110321_bQ
public float
bW
portalTime
field_3929
nextNauseaStrength
field_71086_bY
public float
bX
oPortalTime
field_3911
lastNauseaStrength
field_71080_cy
private boolean
cq
startedUsingItem
field_3915
usingItem
field_184842_cm
private InteractionHand
cr
usingItemHand
field_3945
activeHand
field_184843_cn
private boolean
cs
handsBusy
field_3942
riding
field_184844_co
private boolean
ct
autoJumpEnabled
field_3927
autoJumpEnabled
field_189811_cr
private int
cu
autoJumpTime
field_3934
ticksToNextAutojump
field_189812_cs
private boolean
cv
wasFallFlying
field_3939
field_3939
field_189813_ct
private int
cw
waterVisionTime
field_3917
underwaterVisibilityTicks
field_203720_cz
private boolean
cx
showDeathScreen
field_20663
showsDeathScreen
field_228352_cx_

Constructor summary

ModifierConstructor
public (Minecraft arg0, ClientLevel arg1, ClientPacketListener arg2, StatsCounter stats, ClientRecipeBook recipeBook, boolean arg5, boolean arg6)

Method summary

Modifier and TypeMethod
public boolean
a(anw 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(aom 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
bb()
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
eW()
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(anf arg0)
swing(InteractionHand arg0)
method_6104(class_1268 arg0)
swingHand(Hand arg0)
func_184609_a(Hand arg0)
swingHand(EnumHand arg0)
public void
ex()
respawn()
method_7331()
requestRespawn()
func_71004_bE()
protected void
e(anw 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
s(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
ey()
isLocalPlayer()
method_7340()
isMainPlayer()
func_175144_cb()
public boolean
ed()
isSuppressingSlidingDownLadder()
method_21754()
isHoldingOntoLadder()
func_230491_ea_()
public boolean
aK()
canSpawnSprintParticle()
method_27298()
shouldSpawnSprintingParticles()
func_230269_aK_()
public boolean
cM()
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(bmu<?> 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(mr 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)
protected void
k(double arg0, double arg1, double arg2)
checkInBlock(double arg0, double arg1, double arg2)
method_5632(double arg0, double arg1, double arg2)
pushOutOfBlocks(double arg0, double arg1, double arg2)
func_213282_i(double arg0, double arg1, double arg2)
private boolean
g(fu arg0)
blocked(BlockPos arg0)
method_3150(class_2338 arg0)
cannotFitAt(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(mr 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(ack 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(ack arg0, acm 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
dR()
isEffectiveAi()
method_6034()
canMoveVoluntarily()
func_70613_aW()
doAITick()
public void
c(anf arg0)
startUsingItem(InteractionHand arg0)
method_6019(class_1268 arg0)
setCurrentHand(Hand arg0)
func_184598_c(Hand arg0)
public boolean
dV()
isUsingItem()
method_6115()
isUsingItem()
func_184587_cr()
isHandRaised()
public void
eb()
stopUsingItem()
method_6021()
clearActiveItem()
func_184602_cy()
clearActiveItem()
public InteractionHand
dW()
getUsedItemHand()
method_6058()
getActiveHand()
func_184600_cs()
getRaisedHand()
public void
a(tq<?> 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(ceh arg0)
openTextEdit(SignBlockEntity arg0)
method_7311(class_2625 arg0)
openEditSignScreen(SignBlockEntity arg0)
func_175141_a(SignTileEntity arg0)
openSign(TileEntitySign arg0)
public void
a(bpc arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor arg0)
func_184809_a(CommandBlockLogic arg0)
public void
a(cdq arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity arg0)
func_184824_a(CommandBlockTileEntity arg0)
public void
a(cel arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
openStructureBlockScreen(StructureBlockBlockEntity arg0)
func_189807_a(StructureBlockTileEntity arg0)
public void
a(ceb arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
openJigsawScreen(JigsawBlockEntity arg0)
func_213826_a(JigsawTileEntity arg0)
public void
a(bki arg0, anf arg1)
openItemGui(ItemStack arg0, InteractionHand arg1)
method_7315(class_1799 arg0, class_1268 arg1)
openEditBookScreen(ItemStack arg0, Hand arg1)
func_184814_a(ItemStack arg0, Hand arg1)
openBook(ItemStack arg0, EnumHand arg1)
public void
a(aom arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
addCritParticles(Entity arg0)
func_71009_b(Entity arg0)
public void
b(aom arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity arg0)
func_71047_c(Entity arg0)
public boolean
bq()
isShiftKeyDown()
method_5715()
isSneaking()
func_225608_bj_()
isSneaking()
public boolean
bv()
isCrouching()
method_18276()
isInSneakingPose()
func_213453_ef()
public boolean
J()
isMovingSlowly()
method_20303()
isHoldingSneakKey()
func_228354_I_()
public void
dO()
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
eX()
handleNetherPortalClient()
method_18654()
updateNausea()
func_213839_ed()
public void
aW()
rideTick()
method_5842()
tickRiding()
func_70098_U()
passengerTick()
public boolean
L()
isHandsBusy()
method_3144()
isRiding()
func_184838_M()
public MobEffectInstance
c(aoe arg0)
removeEffectNoUpdate(MobEffect arg0)
method_6111(class_1291 arg0)
removeStatusEffectInternal(StatusEffect arg0)
func_184596_c(Effect arg0)
public void
a(apd arg0, dem 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
eY()
canAutoJump()
method_22119()
shouldAutoJump()
func_228356_eG_()
private boolean
eZ()
isMoving()
method_22120()
hasMovementInput()
func_228357_eH_()
private boolean
fa()
hasEnoughImpulseToStartSprinting()
method_20623()
isWalking()
func_223110_ee()
public float
N()
getWaterVision()
method_3140()
getUnderwaterVisibility()
func_203719_J()
public boolean
aE()
isUnderWater()
method_5869()
isSubmergedInWater()
func_204231_K()
protected boolean
es()
updateIsUnderwater()
method_7295()
updateWaterSubmersionState()
func_204229_de()