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
ConstructorsConstructorDescriptionCMIHologram(com.Zrips.CMI.Modules.Holograms.CMIHologram hologram) Create a new hologramCMIHologram(String name, org.bukkit.Location location) Create a new hologram -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLine(@NotNull me.hsgamer.unihologram.common.api.HologramLine line) voidclear()@NotNull List<me.hsgamer.unihologram.common.api.HologramLine>getLines()org.bukkit.LocationgetName()voidinit()voidinsertLine(int index, @NotNull me.hsgamer.unihologram.common.api.HologramLine line) booleanvoidremoveLine(int index) voidsetLine(int index, @NotNull me.hsgamer.unihologram.common.api.HologramLine line) voidvoidsetLocation(org.bukkit.Location location) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.unihologram.common.api.Hologram
getLine, size
-
Constructor Details
-
CMIHologram
Create a new hologram- Parameters:
name- the name of the hologramlocation- 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
- Specified by:
getLinesin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
setLines
- Specified by:
setLinesin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
addLine
public void addLine(@NotNull @NotNull me.hsgamer.unihologram.common.api.HologramLine line) - Specified by:
addLinein interfaceme.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:
setLinein interfaceme.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:
insertLinein interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
removeLine
public void removeLine(int index) - Specified by:
removeLinein interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
getName
- Specified by:
getNamein interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
init
public void init()- Specified by:
initin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
clear
public void clear()- Specified by:
clearin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
getLocation
public org.bukkit.Location getLocation()- Specified by:
getLocationin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-
setLocation
public void setLocation(org.bukkit.Location location) - Specified by:
setLocationin interfaceme.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>
-