Klasse ItemHologramData

Alle implementierten Schnittstellen:
YamlData

public class ItemHologramData extends DisplayHologramData
  • Felddetails

    • DEFAULT_ITEM

      public static final org.bukkit.inventory.ItemStack DEFAULT_ITEM
  • Konstruktordetails

    • ItemHologramData

      public ItemHologramData(String name, org.bukkit.Location location)
      Parameter:
      name - Name of hologram
      location - Location of hologram Default values are already set
  • Methodendetails

    • getItemStack

      public org.bukkit.inventory.ItemStack getItemStack()
    • setItemStack

      public ItemHologramData setItemStack(org.bukkit.inventory.ItemStack item)
    • read

      public boolean read(org.bukkit.configuration.ConfigurationSection section, String name)
      Beschreibung aus Schnittstelle kopiert: YamlData
      Reads the data from the given configuration section.
      Angegeben von:
      read in Schnittstelle YamlData
      Setzt außer Kraft:
      read in Klasse DisplayHologramData
      Gibt zurück:
      Whether the data was read successfully.
    • write

      public boolean write(org.bukkit.configuration.ConfigurationSection section, String name)
      Beschreibung aus Schnittstelle kopiert: YamlData
      Writes the data to the given configuration section.
      Angegeben von:
      write in Schnittstelle YamlData
      Setzt außer Kraft:
      write in Klasse DisplayHologramData
      Gibt zurück:
      Whether the data was written successfully.
    • copy

      public ItemHologramData copy(String name)
      Setzt außer Kraft:
      copy in Klasse DisplayHologramData