Class Item.BlueprintItem

java.lang.Object
net.risingworld.api.objects.Item
net.risingworld.api.objects.Item.BlueprintItem
Enclosing class:
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.
  • Method Details

    • getBlueprintID

      public long getBlueprintID()
    • getBlueprintName

      public String getBlueprintName()
      Gets the name of the blueprint.
      Returns:
      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).
      Returns:
      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.
      Returns:
      the total amount of construction elements the blueprint contains.
    • getBlueprintPlantCount

      public int getBlueprintPlantCount()
      Gets the total amount of plants (vegetation) in the blueprint.
      Returns:
      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!
      Returns:
      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).
      Returns:
      the total amount of elements the blueprint contains.