Package net.risingworld.api.utils
Class ItemData
java.lang.Object
net.risingworld.api.utils.ItemData
Holds information for an item. Can represent regular items (tools, weapons etc), object items (furniture etc),
clothing items and construction items (blocks). Note that this is not an actual item instance!
-
Constructor Details
-
ItemData
-
-
Method Details
-
getItemType
-
getName
-
getVariant
public int getVariant()Gets the item variant/texture.- Returns:
- the item variant (default: 0).
-
getStack
public int getStack() -
setStack
public void setStack(int stack) -
getItemDefinition
-
getClothingDefinition
-
getObjectDefinition
-
getConstructionDefinition
-