Package net.risingworld.api.objects
Klasse Item.BlueprintItem
java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.BlueprintItem
- Umschließende Klasse:
Item
Represents a blueprint item in the inventory of a player or in a storage box.
A blueprint item is a ready-to-use blueprint (this does not apply to empty blueprints!), i.e a blueprint item representing an actual blueprint.
A blueprint item is a ready-to-use blueprint (this does not apply to empty blueprints!), i.e a blueprint item representing an actual blueprint.
-
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 TypMethodeBeschreibungint
Gets the total amount of construction elements (e.g blocks) in the blueprint.long
Gets the creation date of the blueprint (unix timestamp in seconds).long
Gets the name of the blueprint.int
Gets the total amount of object elements (i.e furniture, doors etc) in the blueprint.int
Gets the total amount of plants (vegetation) in the blueprint.int
Gets the total amount elements in this blueprint (construction elements, plants and objects).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
-
getBlueprintID
public long getBlueprintID() -
getBlueprintName
Gets the name of the blueprint.- Gibt zurück:
- the name of the blueprint.
-
getBlueprintCreatorName
-
getBlueprintCreatorUID
-
getBlueprintCreationDate
public long getBlueprintCreationDate()Gets the creation date of the blueprint (unix timestamp in seconds).- Gibt zurück:
- a unix timestamp (seconds) representing the creation date of the blueprint (not the item!).
-
getBlueprintConstructionCount
public int getBlueprintConstructionCount()Gets the total amount of construction elements (e.g blocks) in the blueprint.- Gibt zurück:
- the total amount of construction elements the blueprint contains.
-
getBlueprintPlantCount
public int getBlueprintPlantCount()Gets the total amount of plants (vegetation) in the blueprint.- Gibt zurück:
- the total amount of plants the blueprint contains.
-
getBlueprintObjectCount
public int getBlueprintObjectCount()Gets the total amount of object elements (i.e furniture, doors etc) in the blueprint. This does not include construction elements (like blocks) or plants!- Gibt zurück:
- the total amount of objects the blueprint contains.
-
getBlueprintTotalElementCount
public int getBlueprintTotalElementCount()Gets the total amount elements in this blueprint (construction elements, plants and objects).- Gibt zurück:
- the total amount of elements the blueprint contains.
-