classpublicPriority 1
PlayerMouseButtonEvent
com.hypixel.hytale.server.core.event.events.player.PlayerMouseButtonEvent
extends PlayerEvent
implements ICancellable
10
Methods
10
Public Methods
8
Fields
1
Constructors
Constructors
public
PlayerMouseButtonEvent(Ref<EntityStore> ref, Player player, PlayerRef playerRefComponent, long clientUseTime, Item itemInHand, Vector3i targetBlock, Entity targetEntity, Vector2f screenPoint, MouseButtonEvent mouseButton)Methods
Public Methods (10)
public
long getClientUseTime()public
Item getItemInHand()public
MouseButtonEvent getMouseButton()public
PlayerRef getPlayerRefComponent()@Nonnull
public
Vector2f getScreenPoint()public
Vector3i getTargetBlock()public
Entity getTargetEntity()public
boolean isCancelled()@Override
public
void setCancelled(boolean cancelled)@Override
public
String toString()@Nonnull@Override
Fields
Private/Package Fields (8)
private
boolean cancelledprivate
long clientUseTimeprivate
Item itemInHandprivate
MouseButtonEvent mouseButtonprivate
PlayerRef playerRefprivate
Vector2f screenPointprivate
Vector3i targetBlockprivate
Entity targetEntity