Class HologramService

java.lang.Object
com.gamersafer.minecraft.auth.paper.hologram.HologramService

public class HologramService extends Object
Provides methods to show holograms to players.
  • Constructor Details

    • HologramService

      public HologramService()
      Constructs HologramService.
  • Method Details

    • show

      public void show(@NonNull org.bukkit.entity.Player player, @NonNull Hologram hologram)
      Sends the player a hologram.
      Parameters:
      player - the player
      hologram - the hologram
    • instances

      public @NonNull List<HologramInstance> instances()
      Returns the list of hologram instances.
      Returns:
      the instances