Package io.lumine.mythic.core.holograms
Class HologramManager
java.lang.Object
io.lumine.utils.plugin.PluginModule<T>
io.lumine.utils.plugin.ReloadableModule<MythicBukkit>
io.lumine.mythic.core.holograms.HologramManager
- All Implemented Interfaces:
io.lumine.utils.terminable.Terminable
,io.lumine.utils.terminable.TerminableConsumer
,io.lumine.utils.terminable.TerminableModule
,AutoCloseable
-
Field Summary
Fields inherited from class io.lumine.utils.plugin.PluginModule
autoload, plugin, terminableRegistry
Fields inherited from interface io.lumine.utils.terminable.Terminable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCastBar
(CastMechanic.CastTracker castTracker, String castingText) createHealthBar
(ActiveMob activeMob) createHologram
(AbstractEntity entity, PacketTextDisplay.PacketTextDisplayBuilder options) createHologram
(AbstractEntity entity, String text, PacketTextDisplay.PacketTextDisplayBuilder options) createHologram
(String name, AbstractLocation location) createHologram
(String name, AbstractLocation location, String text) createHologram
(Supplier<Collection<AbstractPlayer>> audience, AbstractEntity entity, String s, PacketTextDisplay.PacketTextDisplayBuilder options) createNameplate
(ActiveMob activeMob) createSpeechBubble
(SkillCaster skillCaster, Supplier<Collection<AbstractPlayer>> audience, PacketTextDisplay.PacketTextDisplayBuilder options) getAttachedHolograms
(int vehicleId) boolean
isActive()
void
load
(MythicBukkit plugin) void
registerAttachedHologram
(int entity, int hologram) void
unload()
void
unregisterAttachedHologram
(int entity, int hologram) Methods inherited from class io.lumine.utils.plugin.ReloadableModule
reload
Methods inherited from class io.lumine.utils.plugin.PluginModule
bind, close, doBinding, getPlugin, setup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.lumine.utils.terminable.Terminable
bindWith, closeAndReportException, closeSilently, hasTerminated, isClosed, terminate
Methods inherited from interface io.lumine.utils.terminable.TerminableConsumer
bindModule
Methods inherited from interface io.lumine.utils.terminable.TerminableModule
bindModuleWith
-
Constructor Details
-
HologramManager
-
-
Method Details
-
load
- Specified by:
load
in classio.lumine.utils.plugin.PluginModule<MythicBukkit>
-
unload
public void unload()- Specified by:
unload
in classio.lumine.utils.plugin.PluginModule<MythicBukkit>
-
isActive
public boolean isActive() -
createHologram
-
createHologram
-
createHologram
public IHologram createHologram(AbstractEntity entity, PacketTextDisplay.PacketTextDisplayBuilder options) -
createHologram
public IHologram createHologram(Supplier<Collection<AbstractPlayer>> audience, AbstractEntity entity, String s, PacketTextDisplay.PacketTextDisplayBuilder options) -
createHologram
public IHologram createHologram(AbstractEntity entity, String text, PacketTextDisplay.PacketTextDisplayBuilder options) -
createNameplate
-
createHealthBar
-
createSpeechBubble
public SpeechBubble createSpeechBubble(SkillCaster skillCaster, Supplier<Collection<AbstractPlayer>> audience, PacketTextDisplay.PacketTextDisplayBuilder options) -
createCastBar
-
registerAttachedHologram
public void registerAttachedHologram(int entity, int hologram) -
unregisterAttachedHologram
public void unregisterAttachedHologram(int entity, int hologram) -
getAttachedHolograms
-