net.minecraft.network.protocol.game

public class ServerboundPlayerInputPacket

implements Packet<ServerGamePacketListener>

aic
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
public static final StreamCodec<FriendlyByteBuf, ServerboundPlayerInputPacket>
a
STREAM_CODEC
field_48209
CODEC
f_314428_
private static final int
b
FLAG_JUMPING
field_33363
JUMPING_MASK
f_179717_
private static final int
c
FLAG_SHIFT_KEY_DOWN
field_33364
SNEAKING_MASK
f_179718_
private final float
d
xxa
field_12995
sideways
f_134339_
private final float
e
zza
field_12994
forward
f_134340_
private final boolean
f
isJumping
field_12997
jumping
f_134341_
private final boolean
g
isShiftKeyDown
field_12996
sneaking
f_134342_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55990(class_2540 arg0)
write(PacketByteBuf buf)
m_134356_(C_4983_ arg0)
public PacketType<ServerboundPlayerInputPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agw 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
e()
getZza()
method_12373()
getForward()
m_134358_()
public boolean
f()
isJumping()
method_12371()
isJumping()
m_134359_()
public boolean
g()
isShiftKeyDown()
method_12370()
isSneaking()
m_134360_()