From 13be3e6e372ba03d02dc6ca98f924b330a2b3625 Mon Sep 17 00:00:00 2001 From: Zhea Evyline <99989764+zheaEvyline@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:26:26 +0400 Subject: [PATCH] Update selectors.md edited some wording for clarity --- docs/commands/selectors.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/commands/selectors.md b/docs/commands/selectors.md index 235b55eff15..0cfc2e64c14 100644 --- a/docs/commands/selectors.md +++ b/docs/commands/selectors.md @@ -89,9 +89,14 @@ Enchant the held item with Sharpness for all players within one block of (0, 100 ### Volume -Limits the selection of targets to those inside of a cuboid volume. There are three arguments, each determining the size of the box along their respective axes. If at least one argument is defined, any remaining arguments left undefined are assumed to be 0. This selects entities by their feet. - -The general formula for calculating the volume between two positions can be viewed as: `dx = x2 - x1; dy = y2 - y1; dz = z2 - z1`. +Limits the selection of targets to those within or intersecting a specified cuboid volume (bounding box). There are three arguments, each determining the size of the box along their respective axes. If at least one argument is defined, any remaining arguments left undefined are assumed to be 0. This selects entities by their hitbox. + +The general formula for calculating the volume between two positions can be viewed as: +``` +dx = x2 - x1 +dy = y2 - y1 +dz = z2 - z1 +``` - `dx=`, `dy=`, and `dz=`—Selects entities inside the given bounding box.