net.minecraft.network.protocol.game

public class ServerboundPlayerCommandPacket

implements Packet<ServerGamePacketListener>

ais
net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket
net.minecraft.class_2848
net.minecraft.network.packet.c2s.play.ClientCommandC2SPacket
net.minecraft.network.protocol.game.PacketPlayInEntityAction

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundPlayerCommandPacket>
a
STREAM_CODEC
field_48208
CODEC
private final int
b
id
field_12977
entityId
private final ServerboundPlayerCommandPacket$Action
c
action
field_12978
mode
private final int
d
data
field_12976
mountJumpHeight

Constructor summary

ModifierConstructor
public (Entity entity, ServerboundPlayerCommandPacket$Action mode)
public (Entity entity, ServerboundPlayerCommandPacket$Action mode, int mountJumpHeight)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55989(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundPlayerCommandPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12364(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getId()
method_36173()
getEntityId()
public ServerboundPlayerCommandPacket$Action
e()
getAction()
method_12365()
getMode()
public int
f()
getData()
method_12366()
getMountJumpHeight()