net.minecraft.client.player

public class LocalPlayer

extends AbstractClientPlayer

All mapped superinterfaces:

Nameable, CommandSource

dpy
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
bZ
stats
field_3928
stats
field_146108_bO
private final ClientRecipeBook
ca
recipeBook
field_3930
recipeBook
field_192036_cb
private final List<AmbientSoundHandler>
cb
ambientSoundHandlers
field_3933
tickables
field_204232_cf
private int
cc
permissionLevel
field_3912
clientPermissionLevel
field_184845_bX
private double
cd
xLast
field_3926
lastX
field_175172_bI
private double
ce
yLast1
field_3940
lastBaseY
field_175166_bJ
private double
cf
zLast
field_3924
lastZ
field_175167_bK
private float
cg
yRotLast
field_3941
lastYaw
field_175164_bL
private float
ch
xRotLast
field_3925
lastPitch
field_175165_bM
private boolean
ci
lastOnGround
field_3920
lastOnGround
field_184841_cd
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
field_175168_bP
private boolean
cm
flashOnSetHealth
field_3918
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
bR
sprintTriggerTime
field_3935
field_71156_d
public int
bS
sprintTime
field_3921
field_71157_e
public float
bT
yBob
field_3932
renderYaw
field_71154_f
public float
bU
xBob
field_3916
renderPitch
field_71155_g
public float
bV
yBobO
field_3931
lastRenderYaw
field_71163_h
public float
bW
xBobO
field_3914
lastRenderPitch
field_71164_i
private int
co
jumpRidingTicks
field_3938
field_110320_a
private float
cp
jumpRidingScale
field_3922
field_110321_bQ
public float
bX
portalTime
field_3929
nextNauseaStrength
field_71086_bY
public float
bY
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
lastAutoJump
field_189811_cr
private int
cu
autoJumpTime
field_3934
field_189812_cs
private boolean
cv
wasFallFlying
field_3939
field_189813_ct
private int
cw
waterVisionTime
field_3917
field_203720_cz
private boolean
cx
showDeathScreen
field_20663
showsDeathScreen
field_228352_cx_

Constructor summary

ModifierConstructor
public (Minecraft client, ClientLevel arg1, ClientPacketListener arg2, StatsCounter arg3, ClientRecipeBook arg4)

Method summary

Modifier and TypeMethod
public boolean
bt()
isGlowing()
method_5851()
isGlowing()
func_225510_bt_()
public boolean
a(ajw 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(akn 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
j()
stopRiding()
method_5848()
stopRiding()
func_184210_p()
stopRiding()
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
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
eE()
sendPosition()
method_3136()
sendMovementPackets()
func_175161_p()
public boolean
n(boolean arg0)
drop(boolean arg0)
method_7290(boolean arg0)
dropSelectedItem(boolean arg0)
func_225609_n_(boolean arg0)
public void
f(String arg0)
chat(String arg0)
method_3142(String arg0)
sendChatMessage(String arg0)
func_71165_d(String arg0)
public void
a(ajh arg0)
swing(InteractionHand arg0)
method_6104(class_1268 arg0)
swingHand(Hand arg0)
func_184609_a(Hand arg0)
public void
eb()
respawn()
method_7331()
requestRespawn()
func_71004_bE()
protected void
d(ajw 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
v_()
closeContainer()
method_7346()
closeContainer()
func_71053_j()
closeInventory()
public void
w()
clientSideCloseContainer()
method_3137()
closeScreen()
func_175159_q()
public void
t(float arg0)
hurtTo(float arg0)
method_3138(float arg0)
updateHealth(float arg0)
func_71150_b(float arg0)
public void
r()
onUpdateAbilities()
method_7355()
sendAbilitiesUpdate()
func_71016_p()
updateAbilities()
public boolean
ec()
isLocalPlayer()
method_7340()
isMainPlayer()
func_175144_cb()
protected void
x()
sendRidingJump()
method_3133()
startRidingJump()
func_110318_g()
public void
z()
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
A()
getServerBrand()
method_3135()
getServerBrand()
func_142021_k()
public StatsCounter
B()
getStats()
method_3143()
getStats()
func_146107_m()
public ClientRecipeBook
D()
getRecipeBook()
method_3130()
getRecipeBook()
func_199507_B()
public void
a(bgt<?> arg0)
removeRecipeHighlight(Recipe<?> arg0)
method_3141(class_1860<?> arg0)
onRecipeDisplayed(Recipe<?> arg0)
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 arg0)
func_184839_n(int arg0)
public void
a(lf arg0, boolean arg1)
displayClientMessage(Component arg0, boolean arg1)
method_7353(class_2561 arg0, boolean arg1)
addChatMessage(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(fk arg0)
blocked(BlockPos arg0)
method_3150(class_2338 arg0)
cannotFitAt(BlockPos pos)
func_205027_h(BlockPos arg0)
public void
f(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(lf arg0)
sendMessage(Component arg0)
method_9203(class_2561 arg0)
sendMessage(Text arg0)
func_145747_a(ITextComponent arg0)
sendMessage(IChatBaseComponent arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public void
a(boolean arg0)
setShowDeathScreen(boolean arg0)
method_22420(boolean arg0)
setShowsDeathScreen(boolean shouldShow)
func_228355_a_(boolean arg0)
public boolean
F()
shouldShowDeathScreen()
method_22419()
showsDeathScreen()
func_228353_F_()
public void
a(aah 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)
public void
a(aah arg0, aaj 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
dx()
isEffectiveAi()
method_6034()
canMoveVoluntarily()
func_70613_aW()
doAITick()
public void
c(ajh arg0)
startUsingItem(InteractionHand arg0)
method_6019(class_1268 arg0)
setCurrentHand(Hand arg0)
func_184598_c(Hand arg0)
public boolean
dB()
isUsingItem()
method_6115()
isUsingItem()
func_184587_cr()
isHandRaised()
public void
dH()
stopUsingItem()
method_6021()
clearActiveItem()
func_184602_cy()
public InteractionHand
dC()
getUsedItemHand()
method_6058()
getActiveHand()
func_184600_cs()
getRaisedHand()
public void
a(sb<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public boolean
G()
isRidingJumpable()
method_3131()
hasJumpingMount()
func_110317_t()
public float
H()
getJumpRidingScale()
method_3151()
func_110319_bJ()
public void
a(bxe arg0)
openTextEdit(SignBlockEntity arg0)
method_7311(class_2625 arg0)
openEditSignScreen(SignBlockEntity arg0)
func_175141_a(SignTileEntity arg0)
openSign(TileEntitySign arg0)
public void
a(biz arg0)
openMinecartCommandBlock(BaseCommandBlock arg0)
method_7257(class_1918 arg0)
openCommandBlockMinecartScreen(CommandBlockExecutor arg0)
func_184809_a(CommandBlockLogic arg0)
public void
a(bwn arg0)
openCommandBlock(CommandBlockEntity arg0)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity arg0)
func_184824_a(CommandBlockTileEntity arg0)
public void
a(bxi arg0)
openStructureBlock(StructureBlockEntity arg0)
method_7303(class_2633 arg0)
openStructureBlockScreen(StructureBlockBlockEntity arg0)
func_189807_a(StructureBlockTileEntity arg0)
public void
a(bwy arg0)
openJigsawBlock(JigsawBlockEntity arg0)
method_16354(class_3751 arg0)
openJigsawScreen(JigsawBlockEntity arg0)
func_213826_a(JigsawTileEntity arg0)
public void
a(bek arg0, ajh 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(akn arg0)
crit(Entity arg0)
method_7277(class_1297 arg0)
addCritParticles(Entity arg0)
func_71009_b(Entity arg0)
public void
b(akn arg0)
magicCrit(Entity arg0)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity arg0)
func_71047_c(Entity arg0)
public boolean
bj()
isShiftKeyDown()
method_5715()
isSneaking()
func_225608_bj_()
isSneaking()
public boolean
bo()
isCrouching()
method_18276()
isInSneakingPose()
func_213453_ef()
public boolean
I()
isMovingSlowly()
method_20303()
isHoldingSneakKey()
func_228354_I_()
public void
du()
serverAiStep()
method_6023()
tickNewAi()
func_70626_be()
doTick()
protected boolean
J()
isControlledCamera()
method_3134()
isCamera()
func_175160_A()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private void
eF()
handleNetherPortalClient()
method_18654()
updateNausea()
func_213839_ed()
public void
aQ()
rideTick()
method_5842()
tickRiding()
func_70098_U()
passengerTick()
public boolean
K()
isHandsBusy()
method_3144()
isRiding()
func_184838_M()
public MobEffectInstance
c(akf arg0)
removeEffectNoUpdate(MobEffect arg0)
method_6111(class_1291 arg0)
removeStatusEffect(StatusEffect arg0)
func_184596_c(Effect arg0)
public void
a(alb arg0, cvi arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
func_213315_a(MoverType arg0, Vec3d arg1)
move(EnumMoveType arg0, Vec3D arg1)
public boolean
eC()
isAutoJumpEnabled()
method_3149()
getLastAutoJump()
func_189809_N()
protected void
g(float arg0, float arg1)
updateAutoJump(float arg0, float arg1)
method_3148(float arg0, float arg1)
func_189810_i(float arg0, float arg1)
private boolean
eG()
canAutoJump()
method_22119()
func_228356_eG_()
private boolean
eH()
isMoving()
method_22120()
func_228357_eH_()
private boolean
eI()
hasEnoughImpulseToStartSprinting()
method_20623()
func_223110_ee()
public float
eD()
getWaterVision()
method_3140()
func_203719_J()
public boolean
aA()
isUnderWater()
method_5869()
isInWater()
func_204231_K()
protected boolean
dW()
updateIsUnderwater()
method_7295()
updateInWater()
func_204229_de()