net.minecraft.network.protocol.game

public class ServerboundPlayerCommandPacket

implements Packet<ServerGamePacketListener>

acf
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
private final int
a
id
field_12977
entityId
f_134301_
private final ServerboundPlayerCommandPacket$Action
b
action
field_12978
mode
f_134302_
private final int
c
data
field_12976
mountJumpHeight
f_134303_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(abc arg0)
handle(ServerGamePacketListener arg0)
method_12364(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
a()
getId()
method_36173()
getEntityId()
m_179715_()
public ServerboundPlayerCommandPacket$Action
d()
getAction()
method_12365()
getMode()
m_134320_()
public int
e()
getData()
method_12366()
getMountJumpHeight()
m_134321_()