Class ServerboundSwingPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSwingPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InteractionHandstatic final StreamCodec<FriendlyByteBuf, ServerboundSwingPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptiongetHand()voidhandle(ServerGamePacketListener listener) type()private voidwrite(FriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
hand
-
-
Constructor Details
-
ServerboundSwingPacket
-
ServerboundSwingPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getHand
-