Class CMIHologramProvider
java.lang.Object
me.hsgamer.unihologram.spigot.cmi.provider.CMIHologramProvider
- All Implemented Interfaces:
me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
public class CMIHologramProvider
extends Object
implements me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
The hologram provider for CMI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>createHologram(@NotNull String name, @NotNull org.bukkit.Location location) Collection<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>>Optional<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>>getHologram(@NotNull String name) static booleanCheck if CMI is availablebooleanisLocal()
-
Constructor Details
-
CMIHologramProvider
public CMIHologramProvider()
-
-
Method Details
-
isAvailable
public static boolean isAvailable()Check if CMI is available- Returns:
- true if available
-
createHologram
@NotNull public @NotNull me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location> createHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location) - Specified by:
createHologramin interfaceme.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
-
getHologram
public Optional<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>> getHologram(@NotNull @NotNull String name) - Specified by:
getHologramin interfaceme.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
-
getAllHolograms
public Collection<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>> getAllHolograms()- Specified by:
getAllHologramsin interfaceme.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceme.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
-