Package net.risingworld.api.objects
Class Item.ClothingItem
java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.ClothingItem
- Enclosing class:
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
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()
)-
Nested Class Summary
Nested classes/interfaces inherited from class net.risingworld.api.objects.Item
Item.BlueprintItem, Item.ClothingItem, Item.ConstructionItem, Item.ObjectItem
-
Method Summary
Modifier and TypeMethodDescriptionGets the definition of the clothing garment that is represented by this item.short
Gets the name of the clothing garment that is represented by this item.long
Methods inherited from class net.risingworld.api.objects.Item
destroy, equals, getDefinition, getDurability, getMaxStackSize, getModifier, getName, getStack, getStatus, getTypeID, getValue, getVariant, hashCode, isValid, setDurability, setModifier, setStack, setStatus, setValue
-
Method Details
-
getClothingID
public short getClothingID() -
getClothingName
Gets the name of the clothing garment that is represented by this item.- Returns:
- the internal name of the garment.
-
getClothingDefinition
Gets the definition of the clothing garment that is represented by this item.- Returns:
- the clothing definition.
-
getInfoID
public long getInfoID()
-