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
-
Constructor Summary
ModifierConstructorDescriptionprivate
InteractionAction
(FriendlyByteBuf p_179650_) (package private)
InteractionAction
(InteractionHand p_179648_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(ServerboundInteractPacket.Handler p_179655_) getType()
void
write
(FriendlyByteBuf p_179653_)
-
Field Details
-
hand
-
-
Constructor Details
-
InteractionAction
InteractionAction(InteractionHand p_179648_) -
InteractionAction
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceServerboundInteractPacket.Action
-
dispatch
- Specified by:
dispatch
in interfaceServerboundInteractPacket.Action
-
write
- Specified by:
write
in interfaceServerboundInteractPacket.Action
-