Adds commands:
data modify storage <storage> <path> set value <value>
execute store result storage <storage> <path> int 1
function
(with argument support)
Adds selectors: @p
, @r
Adds selector argument: sort
Adds nbt support internally
Adds nbt paths: foo.bar
, foo[0]
Adds a better instruction optimizer
Functions compile in the background now
Fixes bugs:
@e
returned dead players- Commands which remove entities from the world broke selectors
execute align
does not work- Using
/function
in non-compiled functions does not run the compiled variant (affects 1.20.4+)
Fixes bugs:
- The game crashed after a attribute that isn't a
RangedAttribute
was loaded
Adds commands:
effect
experience add
/xp add
experience set
/xp set
Adds selector arguments: distance
, level
, name
Fixes bugs:
gamemode
selector overwrites previousgamemode
selectors- Rotations with relatives angles cause an exception at runtime (affects
execute rotated <rotation>
only)
Adds commands:
execute rotated as
execute rotated
execute positioned as
Fixes bugs:
team
selector overwrites previousteam
selectorsteam
selector fails to compare team names properly- Positions fail to parse with a
~
without a number after it - Using objectives which don't exist causes an exception when running the command
- Using a command that accepts a scoreholder can break at compile time (affects
execute if score
only) - Comparing two scores together reverses the operator (
a <= b
becameb <= a
in compiled code) - 1.20.1 code fails to call external functions due to missing access widener entry
- Some selectors fail to parse properly with whitespace
Adds commands:
difficulty <peaceful|easy|normal|hard>
weather
Improved stability