Interface PlayerLookAtPacketView

All Superinterfaces:
PacketView

public interface PlayerLookAtPacketView extends PacketView
Lazy copy-on-write view of a clientbound player look-at packet.
  • Method Details

    • sourceAnchor

      EntityAnchor sourceAnchor()
    • targetX

      double targetX()
    • targetY

      double targetY()
    • targetZ

      double targetZ()
    • targetsEntity

      boolean targetsEntity()
    • targetEntityId

      int targetEntityId()
    • targetAnchor

      @Nullable EntityAnchor targetAnchor()
    • sourceAnchor

      void sourceAnchor(EntityAnchor sourceAnchor)
    • targetPosition

      void targetPosition(double x, double y, double z)
    • targetEntity

      void targetEntity(int entityId, EntityAnchor targetAnchor, double fallbackX, double fallbackY, double fallbackZ)