public class PlayerInteractEntityEvent extends PlayerEvent implements Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected com.nukkitx.math.vector.Vector3f |
clickedPos |
protected Entity |
entity |
protected Item |
item |
| Constructor and Description |
|---|
PlayerInteractEntityEvent(Player player,
Entity entity,
Item item,
com.nukkitx.math.vector.Vector3f clickedPos) |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.math.vector.Vector3f |
getClickedPos() |
Entity |
getEntity() |
static HandlerList |
getHandlers() |
Item |
getItem() |
getPlayergetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledprotected final Entity entity
protected final Item item
protected final com.nukkitx.math.vector.Vector3f clickedPos
public Entity getEntity()
public Item getItem()
public com.nukkitx.math.vector.Vector3f getClickedPos()
public static HandlerList getHandlers()
Copyright © 2020. All rights reserved.