Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api crate hologram
com.phoenixplugins.phoenixcrates.api.crate.hologram

Interface Hologram



  • public interface Hologram
    Represents a hologram component responsible for displaying, updating, and managing holograms associated with a specific crate instance.

    Implementations define how holograms are created, shown to players, moved, refreshed, and removed.

    • Method Summary

      Modifier and Type Method and Description
      void despawn()
      Removes the hologram entirely from the world and clears its data.
      CrateInstance getCrate()
      Retrieves the crate instance linked to this hologram component.
      void hide(org.bukkit.entity.Player player)
      Hides the hologram from the specified player.
      void moveTo(org.bukkit.Location location)
      Moves the hologram to the specified world location.
      void refresh()
      Updates the hologram’s content or appearance to reflect the latest state.
      void show(org.bukkit.entity.Player player)
      Displays the hologram to the specified player.
    • Method Detail

      • getCrate

        CrateInstance getCrate()
        Retrieves the crate instance linked to this hologram component.
        Returns:
        the associated Crate instance
      • show

        void show(org.bukkit.entity.Player player)
        Displays the hologram to the specified player.
        Parameters:
        player - the player to show the hologram to
      • hide

        void hide(org.bukkit.entity.Player player)
        Hides the hologram from the specified player.
        Parameters:
        player - the player from whom the hologram should be hidden
      • moveTo

        void moveTo(org.bukkit.Location location)
        Moves the hologram to the specified world location.
        Parameters:
        location - the new location for the hologram
      • refresh

        void refresh()
        Updates the hologram’s content or appearance to reflect the latest state.
      • despawn

        void despawn()
        Removes the hologram entirely from the world and clears its data.
Last updated about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more