Packages com.phoenixplugins.phoenixcrates.api crate 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
    Description
    void
    Removes the hologram entirely from the world and clears its data.
    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
    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 Details

    • 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 10 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping