Interface RangeManager.Disguise

Enclosing interface:
RangeManager

public static interface RangeManager.Disguise
Special interface for a player
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.bukkit.entity.Player>
    Get a copy of the set of all players in range to see this entity, excluding this player.
    To get the set including this player, use RangeManager.getPlayerInRange().
    boolean
    Can the player see their own model.
    void
    setIncludeSelf(boolean flag)
    Should the player see their own model.
    If true, RangeManager.getPlayerInRange() would include this player in the set.
    To get the set excluding this player, use getViewers().
  • Method Details

    • setIncludeSelf

      void setIncludeSelf(boolean flag)
      Should the player see their own model.
      If true, RangeManager.getPlayerInRange() would include this player in the set.
      To get the set excluding this player, use getViewers().
    • isIncludeSelf

      boolean isIncludeSelf()
      Can the player see their own model.
    • getViewers

      Set<org.bukkit.entity.Player> getViewers()
      Get a copy of the set of all players in range to see this entity, excluding this player.
      To get the set including this player, use RangeManager.getPlayerInRange().