Package net.risingworld.api.definitions
Enum Class Items.Type
- All Implemented Interfaces:
Serializable
,Comparable<Items.Type>
,Constable
- Enclosing class:
Items
The general item type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAmmunition (including arrows)This item is a custom API itemSpecial item (this item can contain other items)BaitBall item (e.g soccer ball)BlueprintDrinking bottle (containing drinkableItem is a bucketItem used to claim land / areasWearable items (clothes)Placeable construction elementDefault inventory itemThis item is a dyeEligible for being put into equipment slots in inventoryExplosiveFibers (plant fibers, wool, cotton etc), anything that can be processed at a spinning wheelFirearm / gunFood itemIngotRaw food ingredient or raw meal (cooking)Item is a knife (used for gutting, tanning etc)Light item (e.g torch, flashlight etc)Music discNull typeNpcPlaceable object (e.g furniture)Ore item (also includes terrain materials, like stone)This item is used to paint elements in the worldPelt / hide (can be processed at a tanning rack)Placeable vegetation item (e.g saplings)Poster / custom imagePowder / dustShears (for shearing sheeps)This item is used to harvest plantsTree log pieceVehicle construction/assembly item (vehicle kit etc) -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Items.Type
get
(int value) static Items.Type
Returns the enum constant of this class with the specified name.static Items.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Null type -
Default
Default inventory item -
Equipment
Eligible for being put into equipment slots in inventory -
Clothing
Wearable items (clothes) -
Bag
Special item (this item can contain other items) -
Treelog
Tree log piece -
Plant
Placeable vegetation item (e.g saplings) -
Object
Placeable object (e.g furniture) -
Construction
Placeable construction element -
Blueprint
Blueprint -
Poster
Poster / custom image -
Claim
Item used to claim land / areas -
Vehicle
Vehicle construction/assembly item (vehicle kit etc) -
Light
Light item (e.g torch, flashlight etc) -
Ore
Ore item (also includes terrain materials, like stone) -
Ingot
Ingot -
Food
Food item -
Bottle
Drinking bottle (containing drinkable -
Ingredient
Raw food ingredient or raw meal (cooking) -
Powder
Powder / dust -
Fibers
Fibers (plant fibers, wool, cotton etc), anything that can be processed at a spinning wheel -
Pelt
Pelt / hide (can be processed at a tanning rack) -
Bait
Bait -
Npc
Npc -
Firearm
Firearm / gun -
Explosive
Explosive -
Ammo
Ammunition (including arrows) -
Sickle
This item is used to harvest plants -
Knife
Item is a knife (used for gutting, tanning etc) -
Paint
This item is used to paint elements in the world -
Dye
This item is a dye -
SheepShears
Shears (for shearing sheeps) -
Bucket
Item is a bucket -
Ball
Ball item (e.g soccer ball) -
MusicDisc
Music disc -
API
This item is a custom API item
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
-