Interface InteractEntityPacketView

All Superinterfaces:
PacketView

public interface InteractEntityPacketView extends PacketView
Read-only, allocation-minimal view of a serverbound entity interaction.
  • Method Details

    • entityId

      int entityId()
    • action

    • hand

      @Nullable InteractionHand hand()
    • usingSecondaryAction

      boolean usingSecondaryAction()
    • hasInteractionPoint

      boolean hasInteractionPoint()
    • interactionX

      double interactionX()
    • interactionY

      double interactionY()
    • interactionZ

      double interactionZ()