From ccc7a817f90f7219eeae006eb74904434f4cd83c Mon Sep 17 00:00:00 2001 From: Clexus <528373858@qq.com> Date: Fri, 29 Aug 2025 10:10:33 +0800 Subject: [PATCH] [Wiki] Add Distance --- docs/users/placeholder-list.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/users/placeholder-list.md b/docs/users/placeholder-list.md index 80af79e..cafb11f 100644 --- a/docs/users/placeholder-list.md +++ b/docs/users/placeholder-list.md @@ -34,7 +34,7 @@ Further details on how to contribute to this list or the wiki as a whole can be - **[CooldownBar](#cooldownbar)** - **D** - - *No Expansions* + - *[Distance](#distance)* - **E** - **[Enchantment](#enchantment)** @@ -731,6 +731,27 @@ More info about this expansion can be found on the [GitHub-Repository](https://g ---- +### **Distance** +/// command | papi ecloud download Distance +/// + +This expansion provides placeholders to calculate the distance between two locations. + +Supports placeholder inside placeholder, use `{}` instead of `%` for inner placeholders. + +More info about this expansion can be found on the [GitHub-Repository](https://github.com/Clexus/DistanceExpansion). + +`[]` is optional + +``` +%distance_x1,y1,z1[,x2,y2,z2][,decimals]% +%distance_player1[,player2][,decimals]% +%distance_player[,x,y,z][,decimals]% +%distance_UUID1[,UUID2][,decimals]% +``` + +---- + ### **Enchantment** /// download | https://github.com/TeamVK/PAPI-Enchantment/releases ///