ItemEvent.AttackEvent, ItemEvent.FinishUsingItem, ItemEvent.InitEvent, ItemEvent.InteractEvent, ItemEvent.PickedUpEvent, ItemEvent.SpawnEvent, ItemEvent.StartUsingItem, ItemEvent.StopUsingItem, ItemEvent.TossedEvent, ItemEvent.UpdateEvent, ItemEvent.UsingItemCustomNPCsEvent.CNPCNaturalSpawnEvent| Modifier and Type | Field and Description |
|---|---|
IPlayer |
player |
java.lang.Object |
target |
int |
type |
API| Constructor and Description |
|---|
InteractEvent(IItemCustom item,
IPlayer player,
int type,
java.lang.Object target) |
isCancelled, setCancelledpublic final int type
public final java.lang.Object target
public IPlayer player
public InteractEvent(IItemCustom item, IPlayer player, int type, java.lang.Object target)