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.
  • Constructor Details

  • Method Details

    • isCancelled

      public boolean isCancelled()
      Deprecated.
      Description copied from interface: ICancellable
      Determines whether this event has been cancelled.
      Specified by:
      isCancelled in interface ICancellable
      Returns:
      true if the event has been cancelled, false otherwise.
    • setCancelled

      public void setCancelled(boolean cancelled)
      Deprecated.
      Description copied from interface: ICancellable
      Called to set whether this event is cancelled.
      Specified by:
      setCancelled in interface ICancellable
      Parameters:
      cancelled - true to cancel the event, false to uncancel it.
    • getActionType

      public InteractionType getActionType()
      Deprecated.
    • getClientUseTime

      public long getClientUseTime()
      Deprecated.
    • getItemInHand

      public ItemStack getItemInHand()
      Deprecated.
    • getTargetBlock

      public org.joml.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>