Uses of Enum Class
net.risingworld.api.events.player.inventory.PlayerInventoryAddItemEvent.Origin
-
Uses of PlayerInventoryAddItemEvent.Origin in net.risingworld.api.events.player.inventory
Modifier and TypeMethodDescriptionPlayerInventoryAddItemEvent.getOrigin()
Gets the origin of the item, i.e where the player got this item from (i.e if he picked it up, if he got the item by deconstructing an object or harvesting plants etc).Returns the enum constant of this class with the specified name.static PlayerInventoryAddItemEvent.Origin[]
PlayerInventoryAddItemEvent.Origin.values()
Returns an array containing the constants of this enum class, in the order they are declared.