PacketInteractionContext
The interaction semantics carried by a client entity-use packet.
Attack packets do not carry a hand, so hand is null for ATTACK. Both interaction actions always carry either HAND or OFF_HAND.
Constructors
Link copied to clipboard
public void PacketInteractionContext(PacketInteractionContext.Action action, @Nullable() @Nullable() EquipmentSlot hand)