net.minecraft.network.protocol.game

public class ServerboundPlayerInputPacket

implements Packet<ServerGamePacketListener>

un
net.minecraft.network.protocol.game.ServerboundPlayerInputPacket
net.minecraft.class_2851
net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket
net.minecraft.src.C_5179_
net.minecraft.network.protocol.game.PacketPlayInSteerVehicle

Field summary

Modifier and TypeField
private static final int
a
FLAG_JUMPING
field_33363
JUMPING_MASK
f_179717_
private static final int
b
FLAG_SHIFT_KEY_DOWN
field_33364
SNEAKING_MASK
f_179718_
private final float
c
xxa
field_12995
sideways
f_134339_
private final float
d
zza
field_12994
forward
f_134340_
private final boolean
e
isJumping
field_12997
jumping
f_134341_
private final boolean
f
isShiftKeyDown
field_12996
sneaking
f_134342_

Constructor summary

ModifierConstructor
public (float sideways, float forward, boolean jumping, boolean sneaking)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(tn arg0)
handle(ServerGamePacketListener arg0)
method_12369(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public float
b()
getXxa()
method_12372()
getSideways()
m_134355_()
public float
c()
getZza()
method_12373()
getForward()
m_134358_()
public boolean
d()
isJumping()
method_12371()
isJumping()
m_134359_()
public boolean
e()
isShiftKeyDown()
method_12370()
isSneaking()
m_134360_()