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 ConstantsEnum ConstantDescriptionAmmunition (including arrows)This item is a custom API itemSpecial item (this item can contain other items)Bait (fishing)Ball item (e.g soccer ball)BlueprintDrinking bottleBread item (food)Item 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 / gunFireworkFish item (food)Fishing rodFood itemIngotRaw food ingredient or raw meal (cooking)Item is a knife (used for gutting, tanning etc)Light item (e.g torch, flashlight etc)Meat item (food)Music discNull typeNpc (i.e typically a living npc)Placeable object (e.g furniture)Ore item (also includes terrain materials, like stone)This item is used to paint elements in the worldPastry item like cookies (food)Pelt / 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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Items.Typeget(int value) static Items.TypeReturns 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 -
Vehicle
Vehicle construction/assembly item (vehicle kit etc) -
Poster
Poster / custom image -
Light
Light item (e.g torch, flashlight etc) -
Bottle
Drinking bottle -
Ore
Ore item (also includes terrain materials, like stone) -
Ingot
Ingot -
Food
Food item -
Meat
Meat item (food) -
Fish
Fish item (food) -
Bread
Bread item (food) -
Pastry
Pastry item like cookies (food) -
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) -
Fishingrod
Fishing rod -
Bait
Bait (fishing) -
Npc
Npc (i.e typically a living npc) -
Firearm
Firearm / gun -
Explosive
Explosive -
Ammo
Ammunition (including arrows) -
Firework
Firework -
Sickle
This item is used to harvest plants -
Knife
Item is a knife (used for gutting, tanning etc) -
SheepShears
Shears (for shearing sheeps) -
Bucket
Item is a bucket -
Paint
This item is used to paint elements in the world -
Dye
This item is a dye -
Ball
Ball item (e.g soccer ball) -
MusicDisc
Music disc -
Claim
Item used to claim land / areas -
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
-