Interface ItemLine

All Superinterfaces:
Line
All Known Implementing Classes:
OptimalItemLine

public interface ItemLine extends Line
A class which handles ItemStack displays on any Hologram
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.ItemStack
    Get the ItemStack that the ItemLine currently represents
    void
    setItemStack(org.bukkit.inventory.ItemStack itemStack)
    Set the ItemStack the ItemLine displays

    Methods inherited from interface me.ulrich.outpost.interfaces.Line

    updateHologram
  • Method Details

    • getItemStack

      org.bukkit.inventory.ItemStack getItemStack()
      Get the ItemStack that the ItemLine currently represents
      Returns:
      The current displayed ItemStack
    • setItemStack

      void setItemStack(org.bukkit.inventory.ItemStack itemStack)
      Set the ItemStack the ItemLine displays
      Parameters:
      itemStack - The ItemStack to display