|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraftforge.event.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.item.ItemEvent
public class ItemEvent
Base class for all EntityItem events. Contains a reference to the EntityItem of interest. For most EntityItem events, there's little to no additional useful data from the firing method that isn't already contained within the EntityItem instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent |
|---|
EntityEvent.CanUpdate, EntityEvent.EnteringChunk |
| Nested classes/interfaces inherited from class net.minecraftforge.event.Event |
|---|
Event.HasResult, Event.Result |
| Field Summary | |
|---|---|
EntityItem |
entityItem
The relevant EntityItem for this event, already cast for you. |
| Fields inherited from class net.minecraftforge.event.entity.EntityEvent |
|---|
entity |
| Constructor Summary | |
|---|---|
ItemEvent(EntityItem itemEntity)
Creates a new event for an EntityItem. |
|
| Method Summary |
|---|
| Methods inherited from class net.minecraftforge.event.Event |
|---|
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final EntityItem entityItem
| Constructor Detail |
|---|
public ItemEvent(EntityItem itemEntity)
itemEntity - The EntityItem for this event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||