More datapack examples (#805)
* Update Auxiliary.md * Fixed players() TYPO
This commit is contained in:
1 parent
f2721ab87a
commit
58436fc022
4 files changed
+68
-6
No files matched your search
@@ -92,7 +92,7 @@ place of the resulting map element, otherwise current element is skipped.
|
||||
|
||||
<pre>
|
||||
map(range(10), _*_) => [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
||||
map(players('*'), _+' is stoopid') [gnembon is stoopid, herobrine is stoopid]
|
||||
map(player('*'), _+' is stoopid') [gnembon is stoopid, herobrine is stoopid]
|
||||
</pre>
|
||||
|
||||
### `filter(list,expr(_,_i))`
|
||||
|
||||
@@ -114,7 +114,7 @@ $ )
|
||||
$ );
|
||||
$ lvl
|
||||
$);
|
||||
/script run global_get_enchantment(players(), 'sharpness')
|
||||
/script run global_get_enchantment(player(), 'sharpness')
|
||||
</pre>
|
||||
|
||||
### `Basic Arithmetic Operators + - * /`
|
||||
|
||||
Reference in new issue
Block a user