net.minecraft.network.protocol.game

public class ServerboundPlayerActionPacket

implements Packet<ServerGamePacketListener>

ail
net.minecraft.network.protocol.game.ServerboundPlayerActionPacket
net.minecraft.class_2846

Field summary

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

Constructor summary

ModifierConstructor
public (ServerboundPlayerActionPacket$Action arg0, BlockPos arg1, Direction arg2, int arg3)
public (ServerboundPlayerActionPacket$Action arg0, BlockPos arg1, Direction arg2)
private (FriendlyByteBuf arg0)

Method summary

Modifier and TypeMethod
private void
a(wc arg0)
write(FriendlyByteBuf arg0)
method_55988(class_2540 arg0)
public PacketType<ServerboundPlayerActionPacket>
a()
type()
method_65080()
public void
a(ahf arg0)
handle(ServerGamePacketListener arg0)
method_12361(class_2792 arg0)
public BlockPos
b()
getPos()
method_12362()
public Direction
e()
getDirection()
method_12360()
public ServerboundPlayerActionPacket$Action
f()
getAction()
method_12363()
public int
g()
getSequence()
method_42079()