Class ItemHologramLine

java.lang.Object
io.github.projectunified.unihologram.spigot.line.ItemHologramLine
All Implemented Interfaces:
HologramLine

public class ItemHologramLine extends Object
The hologram line with item
  • Constructor Details

    • ItemHologramLine

      public ItemHologramLine(org.bukkit.inventory.ItemStack content, Map<String,Object> settings)
      Create a new line
      Parameters:
      content - the content
      settings - the settings
    • ItemHologramLine

      public ItemHologramLine(org.bukkit.inventory.ItemStack content)
      Create a new line
      Parameters:
      content - the content
  • Method Details

    • getContent

      @NotNull public org.bukkit.inventory.ItemStack getContent()
      Description copied from interface: HologramLine
      Get the content of the line
      Specified by:
      getContent in interface HologramLine
      Returns:
      the content
    • getSettings

      @NotNull public @NotNull Map<String,Object> getSettings()
      Description copied from interface: HologramLine
      Get the extra settings of the line
      Specified by:
      getSettings in interface HologramLine
      Returns:
      the extra settings