Package io.lumine.mythic.core.holograms
Class DisplayHologram
java.lang.Object
io.lumine.mythic.core.holograms.DisplayHologram
- All Implemented Interfaces:
IHologram
,io.lumine.utils.terminable.Terminable
,AutoCloseable
-
Field Summary
Fields inherited from interface io.lumine.utils.terminable.Terminable
EMPTY
-
Constructor Summary
ConstructorDescriptionDisplayHologram
(HologramManager manager, AbstractEntity base, PacketTextDisplay.PacketTextDisplayBuilder options) DisplayHologram
(HologramManager manager, AbstractLocation location, PacketTextDisplay.PacketTextDisplayBuilder options) DisplayHologram
(HologramManager manager, Supplier<Collection<AbstractPlayer>> audience, AbstractEntity base, PacketTextDisplay.PacketTextDisplayBuilder options) DisplayHologram
(HologramManager manager, Supplier<Collection<AbstractPlayer>> audience, AbstractLocation location, PacketTextDisplay.PacketTextDisplayBuilder options) -
Method Summary
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
-
Constructor Details
-
DisplayHologram
public DisplayHologram(HologramManager manager, AbstractLocation location, PacketTextDisplay.PacketTextDisplayBuilder options) -
DisplayHologram
public DisplayHologram(HologramManager manager, AbstractEntity base, PacketTextDisplay.PacketTextDisplayBuilder options) -
DisplayHologram
public DisplayHologram(HologramManager manager, Supplier<Collection<AbstractPlayer>> audience, AbstractLocation location, PacketTextDisplay.PacketTextDisplayBuilder options) -
DisplayHologram
public DisplayHologram(HologramManager manager, Supplier<Collection<AbstractPlayer>> audience, AbstractEntity base, PacketTextDisplay.PacketTextDisplayBuilder options)
-
-
Method Details
-
teleport
-
setText
-
setText
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceio.lumine.utils.terminable.Terminable
- Throws:
Exception
-