Interface RangeManager.Disguise
- Enclosing interface:
- RangeManager
public static interface RangeManager.Disguise
Special interface for a player
-
Method Summary
Modifier and TypeMethodDescriptionSet<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, useRangeManager.getPlayerInRange().booleanCan the player see their own model.voidsetIncludeSelf(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, usegetViewers().
-
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, usegetViewers(). -
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, useRangeManager.getPlayerInRange().
-