public class ContainerOpenEvent extends Event
ItemContainer is opened. Changing the
container variable will result in a different container being opened.
Cancelling the event will result in no container being opened.| Modifier and Type | Field | Description |
|---|---|---|
ItemContainer |
container |
|
AbstractEntityPlayer |
player |
| Constructor | Description |
|---|---|
ContainerOpenEvent(AbstractEntityPlayer player,
ItemContainer container) |
public final AbstractEntityPlayer player
public ItemContainer container
public ContainerOpenEvent(AbstractEntityPlayer player, ItemContainer container)