net.minecraft.network.protocol.game

public class ServerboundPlayerActionPacket

implements Packet<ServerGamePacketListener>

ahm
net.minecraft.network.protocol.game.ServerboundPlayerActionPacket
net.minecraft.class_2846
net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket
net.minecraft.src.C_5175_
net.minecraft.network.protocol.game.PacketPlayInBlockDig

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundPlayerActionPacket>
a
STREAM_CODEC
field_48207
CODEC
f_315134_
private final BlockPos
b
pos
field_12967
pos
f_134267_
private final Direction
c
direction
field_12965
direction
f_134268_
private final ServerboundPlayerActionPacket$Action
d
action
field_12966
action
f_134269_
private final int
e
sequence
field_38048
sequence
f_237981_

Constructor summary

ModifierConstructor
public (ServerboundPlayerActionPacket$Action action, BlockPos pos, Direction direction, int sequence)
public (ServerboundPlayerActionPacket$Action action, BlockPos pos, Direction direction)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55988(class_2540 arg0)
write(PacketByteBuf buf)
m_134282_(C_4983_ arg0)
public PacketType<ServerboundPlayerActionPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12361(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public BlockPos
b()
getPos()
method_12362()
getPos()
m_134281_()
public Direction
e()
getDirection()
method_12360()
getDirection()
m_134284_()
public ServerboundPlayerActionPacket$Action
f()
getAction()
method_12363()
getAction()
m_134285_()
public int
g()
getSequence()
method_42079()
getSequence()
m_237987_()