Class ServerboundInteractPacket.InteractionAction
java.lang.Object
net.minecraft.network.protocol.game.ServerboundInteractPacket.InteractionAction
- All Implemented Interfaces:
ServerboundInteractPacket.Action
- Enclosing class:
ServerboundInteractPacket
static class ServerboundInteractPacket.InteractionAction
extends Object
implements ServerboundInteractPacket.Action
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
InteractionAction
(FriendlyByteBuf pBuffer) (package private)
InteractionAction
(InteractionHand pHand) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(ServerboundInteractPacket.Handler pHandler) getType()
void
write
(FriendlyByteBuf pBuffer)
-
Field Details
-
hand
-
-
Constructor Details
-
InteractionAction
InteractionAction(InteractionHand pHand) -
InteractionAction
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceServerboundInteractPacket.Action
-
dispatch
- Specified by:
dispatch
in interfaceServerboundInteractPacket.Action
-
write
- Specified by:
write
in interfaceServerboundInteractPacket.Action
-