Class Item.ClothingItem

java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.ClothingItem
Enclosing class:
Item

public static class Item.ClothingItem extends Item
Represents a clothing item in the inventory of a player or in a storage box.
This is any type of clothes (or headgear or accessory). Most clothing items are represented by a generic "clothingitem", so they have the same item type ID, but only a different clothing ID (see getClothingID())
  • Method Details

    • getClothingID

      public short getClothingID()
    • getClothingName

      public String getClothingName()
      Gets the name of the clothing garment that is represented by this item.
      Returns:
      the internal name of the garment.
    • getClothingDefinition

      public Clothing.ClothingDefinition getClothingDefinition()
      Gets the definition of the clothing garment that is represented by this item.
      Returns:
      the clothing definition.
    • getInfoID

      public long getInfoID()