Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Selector

Index

Constructors

Properties

count: number

Include up to x amount of entities

families: string[] | `!${string}`[]

Look for an entity with or without specific families

gamemode: Gamemode

Look for a player that is not the provided gamemode

level: Vector2

Look for a player with a level within the provided range

name: string

Ignore or target specific entity names

pos: Vector3

Specify where to start picking entities from

range: Vector2

Look for an entity within a specified range of a point

rotX: Vector2

Look for an entity with specific x rotation values

rotY: Vector2

Look for an entity with specific y rotation values

scores: {}

Look for an entity that has the provided scores within the provided values

Type declaration

  • [objective: string]: Vector2 | number | `!${number}` | `!${number}..${number}`
selectorType: SelectorType

The type of selector; a for all players, e for entity, r for random player (or entity if type is supplied), p for nearest player, s for self or executor, c for player's agent, initiator for player interacting with npc

tags: string[] | `!${string}`[]

Look for an entity with or without specific tags

type: string

Ignore or target specific entity identifiers

volume: Vector3

Look for an entity within a set volume of space

Methods

  • eval(dimension?: Dimension): boolean
  • results(dimension?: Dimension): string[]
  • toString(): string

Generated using TypeDoc version 0.22.18, the 7/5/2022