Class CMIHologram

java.lang.Object
me.hsgamer.unihologram.spigot.cmi.hologram.CMIHologram
All Implemented Interfaces:
me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>

public class CMIHologram extends Object implements me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
The hologram for CMI
  • Constructor Summary

    Constructors
    Constructor
    Description
    CMIHologram(com.Zrips.CMI.Modules.Holograms.CMIHologram hologram)
    Create a new hologram
    CMIHologram(String name, org.bukkit.Location location)
    Create a new hologram
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLine(@NotNull me.hsgamer.unihologram.common.api.HologramLine line)
     
    void
     
    @NotNull List<me.hsgamer.unihologram.common.api.HologramLine>
     
    org.bukkit.Location
     
     
    void
     
    void
    insertLine(int index, @NotNull me.hsgamer.unihologram.common.api.HologramLine line)
     
    boolean
     
    void
    removeLine(int index)
     
    void
    setLine(int index, @NotNull me.hsgamer.unihologram.common.api.HologramLine line)
     
    void
    setLines(@NotNull List<me.hsgamer.unihologram.common.api.HologramLine> lines)
     
    void
    setLocation(org.bukkit.Location location)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface me.hsgamer.unihologram.common.api.Hologram

    getLine, size
  • Constructor Details

    • CMIHologram

      public CMIHologram(String name, org.bukkit.Location location)
      Create a new hologram
      Parameters:
      name - the name of the hologram
      location - the location of the hologram
    • CMIHologram

      public CMIHologram(com.Zrips.CMI.Modules.Holograms.CMIHologram hologram)
      Create a new hologram
      Parameters:
      hologram - the hologram
  • Method Details

    • getLines

      @NotNull public @NotNull List<me.hsgamer.unihologram.common.api.HologramLine> getLines()
      Specified by:
      getLines in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • setLines

      public void setLines(@NotNull @NotNull List<me.hsgamer.unihologram.common.api.HologramLine> lines)
      Specified by:
      setLines in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • addLine

      public void addLine(@NotNull @NotNull me.hsgamer.unihologram.common.api.HologramLine line)
      Specified by:
      addLine in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • setLine

      public void setLine(int index, @NotNull @NotNull me.hsgamer.unihologram.common.api.HologramLine line)
      Specified by:
      setLine in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • insertLine

      public void insertLine(int index, @NotNull @NotNull me.hsgamer.unihologram.common.api.HologramLine line)
      Specified by:
      insertLine in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • removeLine

      public void removeLine(int index)
      Specified by:
      removeLine in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • getName

      public String getName()
      Specified by:
      getName in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • init

      public void init()
      Specified by:
      init in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • clear

      public void clear()
      Specified by:
      clear in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • isInitialized

      public boolean isInitialized()
      Specified by:
      isInitialized in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • getLocation

      public org.bukkit.Location getLocation()
      Specified by:
      getLocation in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
    • setLocation

      public void setLocation(org.bukkit.Location location)
      Specified by:
      setLocation in interface me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>