Class HologramUpdateEvent

java.lang.Object
org.bukkit.event.Event
de.oliver.fancyholograms.api.HologramEvent
de.oliver.fancyholograms.api.events.HologramUpdateEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public final class HologramUpdateEvent extends HologramEvent
Called when a hologram is being updated, the data in the hologram is current and the event holds the new data
  • Constructor Details

  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getPlayer

      @NotNull public @NotNull org.bukkit.entity.Player getPlayer()
    • getCurrentData

      @NotNull public @NotNull HologramData getCurrentData()
      Returns the current data of the hologram.
      Returns:
      the current data of the hologram
    • getUpdatedData

      @NotNull public @NotNull HologramData getUpdatedData()
      Returns the updated data of the hologram.
      Returns:
      the updated data of the hologram
    • getModification

      @NotNull public @NotNull HologramUpdateEvent.HologramModification getModification()
      Returns the type of modification performed on the hologram.
      Returns:
      the type of modification performed on the hologram
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event