Class PlayerInteractEvent

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

@Deprecated public class PlayerInteractEvent extends PlayerEvent<String> implements ICancellable
Deprecated.
  • Field Details

    • actionType

      private final InteractionType actionType
      Deprecated.
    • clientUseTime

      private final long clientUseTime
      Deprecated.
    • itemInHand

      private final ItemStack itemInHand
      Deprecated.
    • targetBlock

      private final Vector3i targetBlock
      Deprecated.
    • targetRef

      private final Ref<EntityStore> targetRef
      Deprecated.
    • targetEntity

      private final Entity targetEntity
      Deprecated.
    • cancelled

      private boolean cancelled
      Deprecated.
  • Constructor Details

  • Method Details

    • isCancelled

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

      public void setCancelled(boolean cancelled)
      Deprecated.
      Specified by:
      setCancelled in interface ICancellable
    • getActionType

      public InteractionType getActionType()
      Deprecated.
    • getClientUseTime

      public long getClientUseTime()
      Deprecated.
    • getItemInHand

      public ItemStack getItemInHand()
      Deprecated.
    • getTargetBlock

      public Vector3i getTargetBlock()
      Deprecated.
    • getTargetEntity

      public Entity getTargetEntity()
      Deprecated.
    • getTargetRef

      public Ref<EntityStore> getTargetRef()
      Deprecated.
    • toString

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