net.minecraft.network.protocol.game

public class ServerboundSwingPacket

implements Packet<ServerGamePacketListener>

aji
net.minecraft.network.protocol.game.ServerboundSwingPacket
net.minecraft.class_2879
net.minecraft.network.packet.c2s.play.HandSwingC2SPacket
net.minecraft.network.protocol.game.PacketPlayInArmAnimation

Field summary

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

Constructor summary

ModifierConstructor
public (InteractionHand hand)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56003(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSwingPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12511(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public InteractionHand
b()
getHand()
method_12512()
getHand()