![]() When used with or the nearest or random player is selected from the group. When used with or arguments narrow down the targets from the full list to a specific group. Target selector arguments Summary of target selector argumentsĪfter a target selector, optional arguments can be used to narrow down the set of targets to a group that also matches certain criteria. Selects the player who interacts with a button in a JSON NPC dialogue. Works only if more than one agent exists. It does not select anything if the command was run by a command block or server console. Selects the entity (alive or not) that executed the command. Selects all alive entities (including players) in loaded chunks. In Bedrock Edition, can only select entities who are alive. Bedrock Edition can use to select non-player entities via the type selector argument in Java Edition, to select a random entity, use instead. In Bedrock Edition, only selects players who are alive. If there are multiple nearest players, caused by them being precisely the same distance away, the player who most recently joined the server is selected. There are five (six in Bedrock Edition, eight in Minecraft Education) Selects the nearest player from the command's execution. ![]() Target selector variables Summary of target selector nearest random entity executing the player's agent Ī target selector variable identifies the broad category of targets to select. One or more entities can be selected with a target selector variable, and targets can be filtered from the selection based on certain criteria using the target selector arguments. Target selectors are used in commands to select players and entities arbitrarily, without needing to specify an exact player name or a UUID. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |