net.minecraft.network.protocol.game

public class ServerboundSwingPacket

implements Packet<ServerGamePacketListener>

aiq
net.minecraft.network.protocol.game.ServerboundSwingPacket
net.minecraft.class_2879
net.minecraft.network.packet.c2s.play.HandSwingC2SPacket
net.minecraft.src.C_5196_
net.minecraft.network.protocol.game.PacketPlayInArmAnimation

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSwingPacket>
a
STREAM_CODEC
field_48223
CODEC
f_315791_
private final InteractionHand
b
hand
field_13102
hand
f_134664_

Constructor summary

ModifierConstructor
public (InteractionHand hand)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_56003(class_2540 arg0)
write(PacketByteBuf buf)
m_134675_(C_4983_ arg0)
public PacketType<ServerboundSwingPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_12511(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public InteractionHand
b()
getHand()
method_12512()
getHand()
m_134674_()