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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InteractionTypeDeprecated.private booleanDeprecated.private final longDeprecated.private final ItemStackDeprecated.private final Vector3iDeprecated.private final EntityDeprecated.private final Ref<EntityStore> Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionPlayerInteractEvent(Ref<EntityStore> ref, Player player, long clientUseTime, InteractionType actionType, ItemStack itemInHand, Vector3i targetBlock, Ref<EntityStore> targetRef, Entity targetEntity) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.longDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.voidsetCancelled(boolean cancelled) Deprecated.toString()Deprecated.Methods inherited from class com.hypixel.hytale.server.core.event.events.player.PlayerEvent
getPlayer, getPlayerRef
-
Field Details
-
actionType
Deprecated. -
clientUseTime
private final long clientUseTimeDeprecated. -
itemInHand
Deprecated. -
targetBlock
Deprecated. -
targetRef
Deprecated. -
targetEntity
Deprecated. -
cancelled
private boolean cancelledDeprecated.
-
-
Constructor Details
-
PlayerInteractEvent
public PlayerInteractEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Player player, long clientUseTime, InteractionType actionType, ItemStack itemInHand, Vector3i targetBlock, Ref<EntityStore> targetRef, Entity targetEntity) Deprecated.
-
-
Method Details
-
isCancelled
public boolean isCancelled()Deprecated.- Specified by:
isCancelledin interfaceICancellable
-
setCancelled
public void setCancelled(boolean cancelled) Deprecated.- Specified by:
setCancelledin interfaceICancellable
-
getActionType
Deprecated. -
getClientUseTime
public long getClientUseTime()Deprecated. -
getItemInHand
Deprecated. -
getTargetBlock
Deprecated. -
getTargetEntity
Deprecated. -
getTargetRef
Deprecated. -
toString
Deprecated.- Overrides:
toStringin classPlayerEvent<String>
-