Klasse HologramUpdateEvent
java.lang.Object
org.bukkit.event.Event
de.oliver.fancyholograms.api.events.HologramEvent
de.oliver.fancyholograms.api.events.HologramUpdateEvent
- Alle implementierten Schnittstellen:
org.bukkit.event.Cancellable
Called when a hologram is being updated, the data in the hologram is current and the event holds the new data
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumRepresents the various types of modifications that can be made to a Hologram.Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.bukkit.event.Event
org.bukkit.event.Event.Result -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHologramUpdateEvent(@NotNull Hologram hologram, @NotNull org.bukkit.command.CommandSender player, @NotNull HologramData updatedData, @NotNull HologramUpdateEvent.HologramModification modification) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull HologramDataReturns the current data of the hologram.static org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListReturns the type of modification performed on the hologram.@NotNull org.bukkit.command.CommandSender@NotNull HologramDataReturns the updated data of the hologram.Von Klasse geerbte Methoden de.oliver.fancyholograms.api.events.HologramEvent
getHologram, isCancelled, setCancelledVon Klasse geerbte Methoden org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Konstruktordetails
-
HologramUpdateEvent
public HologramUpdateEvent(@NotNull @NotNull Hologram hologram, @NotNull @NotNull org.bukkit.command.CommandSender player, @NotNull @NotNull HologramData updatedData, @NotNull @NotNull HologramUpdateEvent.HologramModification modification)
-
-
Methodendetails
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getPlayer
@NotNull public @NotNull org.bukkit.command.CommandSender getPlayer() -
getCurrentData
Returns the current data of the hologram.- Gibt zurück:
- the current data of the hologram
-
getUpdatedData
Returns the updated data of the hologram.- Gibt zurück:
- the updated data of the hologram
-
getModification
Returns the type of modification performed on the hologram.- Gibt zurück:
- the type of modification performed on the hologram
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Angegeben von:
getHandlersin Klasseorg.bukkit.event.Event
-