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
  • 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
    • Vehicle

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

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

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

      public static final Items.Type Bottle
      Drinking bottle
    • 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
    • Meat

      public static final Items.Type Meat
      Meat item (food)
    • Fish

      public static final Items.Type Fish
      Fish item (food)
    • Bread

      public static final Items.Type Bread
      Bread item (food)
    • Pastry

      public static final Items.Type Pastry
      Pastry item like cookies (food)
    • 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)
    • Fishingrod

      public static final Items.Type Fishingrod
      Fishing rod
    • Bait

      public static final Items.Type Bait
      Bait (fishing)
    • Npc

      public static final Items.Type Npc
      Npc (i.e typically a living 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)
    • Firework

      public static final Items.Type Firework
      Firework
    • 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)
    • SheepShears

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

      public static final Items.Type Bucket
      Item is a bucket
    • 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
    • Ball

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

      public static final Items.Type MusicDisc
      Music disc
    • Claim

      public static final Items.Type Claim
      Item used to claim land / areas
    • 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)