Class PlayerMouseMotionEvent

java.lang.Object
com.hypixel.hytale.server.core.event.events.player.PlayerEvent<Void>
com.hypixel.hytale.server.core.event.events.player.PlayerMouseMotionEvent
All Implemented Interfaces:
IBaseEvent<Void>, ICancellable, IEvent<Void>

public class PlayerMouseMotionEvent extends PlayerEvent<Void> implements ICancellable
  • Field Details

    • clientUseTime

      private final long clientUseTime
    • itemInHand

      private final Item itemInHand
    • targetBlock

      private final Vector3i targetBlock
    • targetEntity

      private final Entity targetEntity
    • screenPoint

      private final Vector2f screenPoint
    • mouseMotion

      private final MouseMotionEvent mouseMotion
    • cancelled

      private boolean cancelled
  • Constructor Details

  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface ICancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface ICancellable
    • getClientUseTime

      public long getClientUseTime()
    • getItemInHand

      public Item getItemInHand()
    • getTargetBlock

      public Vector3i getTargetBlock()
    • getTargetEntity

      public Entity getTargetEntity()
    • getScreenPoint

      public Vector2f getScreenPoint()
    • getMouseMotion

      public MouseMotionEvent getMouseMotion()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class PlayerEvent<Void>