java.lang.Object
me.fami6xx.rpuniverse.core.holoapi.types.holograms.famiHologram
me.fami6xx.rpuniverse.core.holoapi.types.holograms.StaticHologram

public class StaticHologram extends famiHologram
  • Constructor Details

    • StaticHologram

      public StaticHologram(org.bukkit.Location loc)
    • StaticHologram

      public StaticHologram(org.bukkit.Location loc, boolean isVisibleByDefault, double visibleDistance, boolean seeThroughBlocks)
  • Method Details

    • getPageToDisplay

      public int getPageToDisplay(org.bukkit.entity.Player player)
      Description copied from class: famiHologram
      This method is used to retrieve the page number to display for a given player.
      Specified by:
      getPageToDisplay in class famiHologram
      Parameters:
      player - The player for whom to retrieve the page number.
      Returns:
      The page number to display for the given player.
    • shouldShow

      public boolean shouldShow(org.bukkit.entity.Player player)
      Description copied from class: famiHologram
      Determines whether the hologram should be shown to the given player.
      Specified by:
      shouldShow in class famiHologram
      Parameters:
      player - The player to check.
      Returns:
      true if the hologram should be shown to the player, false otherwise.
    • getBaseLocation

      public org.bukkit.Location getBaseLocation()
      Description copied from class: famiHologram
      This function is only for Visibility calculations as it needs to get from where to send RayTrace
      Specified by:
      getBaseLocation in class famiHologram
      Returns:
      Location of the base of the hologram