Klasse Item.BlueprintItem

java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.BlueprintItem
Umschließende Klasse:
Item

public static class Item.BlueprintItem extends 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.
  • Methodendetails

    • getBlueprintID

      public long getBlueprintID()
    • getBlueprintName

      public String getBlueprintName()
      Gets the name of the blueprint.
      Gibt zurück:
      the name of the blueprint.
    • getBlueprintCreatorName

      public String getBlueprintCreatorName()
    • getBlueprintCreatorUID

      public String 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.