net.minecraft.network.protocol.game

public class ServerboundPlayerCommandPacket

implements Packet<ServerGamePacketListener>

ahn
net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket
net.minecraft.class_2848
net.minecraft.network.packet.c2s.play.ClientCommandC2SPacket
net.minecraft.src.C_5177_
net.minecraft.network.protocol.game.PacketPlayInEntityAction

Field summary

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

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(vw arg0)
write(FriendlyByteBuf arg0)
method_55989(class_2540 arg0)
write(PacketByteBuf buf)
m_134318_(C_4983_ arg0)
public PacketType<ServerboundPlayerCommandPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12364(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getId()
method_36173()
getEntityId()
m_179715_()
public ServerboundPlayerCommandPacket$Action
e()
getAction()
method_12365()
getMode()
m_134320_()
public int
f()
getData()
method_12366()
getMountJumpHeight()
m_134321_()