[Wiki] Add Distance

This commit is contained in:
Clexus
2025-08-29 10:10:33 +08:00
parent 46111c5ee2
commit ccc7a817f9

View File

@@ -34,7 +34,7 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[CooldownBar](#cooldownbar)** - **[CooldownBar](#cooldownbar)**
- **D** - **D**
- *No Expansions* - *[Distance](#distance)*
- **E** - **E**
- **[Enchantment](#enchantment)** - **[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** ### **Enchantment**
/// download | https://github.com/TeamVK/PAPI-Enchantment/releases /// download | https://github.com/TeamVK/PAPI-Enchantment/releases
/// ///