Class ServerboundSwingPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.player.ServerboundSwingPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSwingPacket(io.netty.buffer.ByteBuf in) ServerboundSwingPacket(@NonNull Hand hand) -
Method Summary
Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundSwingPacket
public ServerboundSwingPacket(io.netty.buffer.ByteBuf in) -
ServerboundSwingPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getHand
-
equals
-
canEqual
-
hashCode
-
toString
-
withHand
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-