| Package | Description |
|---|---|
| net.risingworld.api.events.player.inventory |
| Modifier and Type | Method and Description |
|---|---|
PlayerInventoryAddEvent.Origin |
PlayerInventoryAddEvent.getOrigin()
Gets the origin of the item, i.e. where the player got this item from (i.e.
|
static PlayerInventoryAddEvent.Origin |
PlayerInventoryAddEvent.Origin.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerInventoryAddEvent.Origin[] |
PlayerInventoryAddEvent.Origin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
PlayerInventoryAddEvent(Player player,
Item item,
int inventorySlot,
Inventory.SlotType inventorySlotType,
PlayerInventoryAddEvent.Origin origin) |