Enum Class Items.Type

java.lang.Object
java.lang.Enum<Items.Type>
net.risingworld.api.definitions.Items.Type
All Implemented Interfaces:
Serializable, Comparable<Items.Type>, Constable
Enclosing class:
Items

public static enum Items.Type extends Enum<Items.Type>
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 Constants
    Enum Constant
    Description
    Ammunition (including arrows)
    This item is a custom API item
    Special item (this item can contain other items)
    Bait
    Ball item (e.g soccer ball)
    Blueprint
    Drinking bottle (containing drinkable
    Item is a bucket
    Item used to claim land / areas
    Wearable items (clothes)
    Placeable construction element
    Default inventory item
    This item is a dye
    Eligible for being put into equipment slots in inventory
    Explosive
    Fibers (plant fibers, wool, cotton etc), anything that can be processed at a spinning wheel
    Firearm / gun
    Food item
    Ingot
    Raw food ingredient or raw meal (cooking)
    Item is a knife (used for gutting, tanning etc)
    Light item (e.g torch, flashlight etc)
    Music disc
    Null type
    Npc
    Placeable object (e.g furniture)
    Ore item (also includes terrain materials, like stone)
    This item is used to paint elements in the world
    Pelt / hide (can be processed at a tanning rack)
    Placeable vegetation item (e.g saplings)
    Poster / custom image
    Powder / dust
    Shears (for shearing sheeps)
    This item is used to harvest plants
    Tree log piece
    Vehicle construction/assembly item (vehicle kit etc)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Items.Type
    get(int value)
     
    static Items.Type
    Returns the enum constant of this class with the specified name.
    static Items.Type[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • None

      public static final Items.Type None
      Null type
    • Default

      public static final Items.Type Default
      Default inventory item
    • Equipment

      public static final Items.Type Equipment
      Eligible for being put into equipment slots in inventory
    • Clothing

      public static final Items.Type Clothing
      Wearable items (clothes)
    • Bag

      public static final Items.Type Bag
      Special item (this item can contain other items)
    • Treelog

      public static final Items.Type Treelog
      Tree log piece
    • Plant

      public static final Items.Type Plant
      Placeable vegetation item (e.g saplings)
    • Object

      public static final Items.Type Object
      Placeable object (e.g furniture)
    • Construction

      public static final Items.Type Construction
      Placeable construction element
    • Blueprint

      public static final Items.Type Blueprint
      Blueprint
    • Poster

      public static final Items.Type Poster
      Poster / custom image
    • Claim

      public static final Items.Type Claim
      Item used to claim land / areas
    • Vehicle

      public static final Items.Type Vehicle
      Vehicle construction/assembly item (vehicle kit etc)
    • Light

      public static final Items.Type Light
      Light item (e.g torch, flashlight etc)
    • Ore

      public static final Items.Type Ore
      Ore item (also includes terrain materials, like stone)
    • Ingot

      public static final Items.Type Ingot
      Ingot
    • Food

      public static final Items.Type Food
      Food item
    • Bottle

      public static final Items.Type Bottle
      Drinking bottle (containing drinkable
    • Ingredient

      public static final Items.Type Ingredient
      Raw food ingredient or raw meal (cooking)
    • Powder

      public static final Items.Type Powder
      Powder / dust
    • Fibers

      public static final Items.Type Fibers
      Fibers (plant fibers, wool, cotton etc), anything that can be processed at a spinning wheel
    • Pelt

      public static final Items.Type Pelt
      Pelt / hide (can be processed at a tanning rack)
    • Bait

      public static final Items.Type Bait
      Bait
    • Npc

      public static final Items.Type Npc
      Npc
    • Firearm

      public static final Items.Type Firearm
      Firearm / gun
    • Explosive

      public static final Items.Type Explosive
      Explosive
    • Ammo

      public static final Items.Type Ammo
      Ammunition (including arrows)
    • Sickle

      public static final Items.Type Sickle
      This item is used to harvest plants
    • Knife

      public static final Items.Type Knife
      Item is a knife (used for gutting, tanning etc)
    • Paint

      public static final Items.Type Paint
      This item is used to paint elements in the world
    • Dye

      public static final Items.Type Dye
      This item is a dye
    • SheepShears

      public static final Items.Type SheepShears
      Shears (for shearing sheeps)
    • Bucket

      public static final Items.Type Bucket
      Item is a bucket
    • Ball

      public static final Items.Type Ball
      Ball item (e.g soccer ball)
    • MusicDisc

      public static final Items.Type MusicDisc
      Music disc
    • API

      public static final Items.Type API
      This item is a custom API item
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static Items.Type[] 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

      public static Items.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public static Items.Type get(int value)