public final 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 and Description |
|---|---|
ItemContainer |
container |
AbstractPlayerEntity |
player |
| Constructor and Description |
|---|
ContainerOpenEvent(AbstractPlayerEntity player,
ItemContainer container) |
public final AbstractPlayerEntity player
public ItemContainer container
public ContainerOpenEvent(AbstractPlayerEntity player, ItemContainer container)