Package net.risingworld.api.objects
Klasse Item.ObjectItem
java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.ObjectItem
- Umschließende Klasse:
Item
Represents an object item in the inventory of a player or in a storage box.
This is, for example, a furniture item. Most objects are represented by a generic "objectkit" item, so they have the same item type ID, but only a different object ID (see
This is, for example, a furniture item. Most objects are represented by a generic "objectkit" item, so they have the same item type ID, but only a different object ID (see
getObjectID()
)-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.risingworld.api.objects.Item
Item.BlueprintItem, Item.ClothingItem, Item.ConstructionItem, Item.ObjectItem
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the definition of the object that is represented by this item.short
Gets the type ID of the object that is represented by this item.Gets the name of the object that is represented by this item.Von Klasse geerbte Methoden net.risingworld.api.objects.Item
destroy, equals, getDefinition, getDurability, getMaxStackSize, getModifier, getName, getStack, getStatus, getTypeID, getValue, getVariant, hashCode, isValid, setDurability, setModifier, setStack, setStatus, setValue
-
Methodendetails
-
getObjectID
public short getObjectID()Gets the type ID of the object that is represented by this item.- Gibt zurück:
- the object type ID.
-
getObjectName
Gets the name of the object that is represented by this item.- Gibt zurück:
- the internal object name.
-
getObjectDefinition
Gets the definition of the object that is represented by this item.- Gibt zurück:
- the object definition.
-