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.network.protocol.game.PacketPlayInBlockDig

Field summary

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

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(vl arg0)
write(FriendlyByteBuf arg0)
method_55988(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundPlayerActionPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12361(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BlockPos
b()
getPos()
method_12362()
getPos()
public Direction
e()
getDirection()
method_12360()
getDirection()
public ServerboundPlayerActionPacket$Action
f()
getAction()
method_12363()
getAction()
public int
g()
getSequence()
method_42079()
getSequence()