Klasse Item.ClothingItem

java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.ClothingItem
Umschließende Klasse:
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())
  • Methodendetails

    • getClothingID

      public short getClothingID()
    • getClothingName

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

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

      public long getInfoID()