Experimental Features

Dynamic item stack count

First of:

You can set the special nbtcrafting:count value on any remainder or result stack nbt tag. Yes, you need to specify it in the data section.

The value of this expression is expected to be a full-blown dollar expression beginning with a dollar sign.

So let's talk about the problems and why this is in the experimental section:

stat_changed Advancement Trigger

There's now a nbt_crafting:stat_changed advancement trigger. It requires the stat condition which is takes the identifier of a player stat.

By default it will trigger on every update of that stat.

Optionally you can specify a range property that works the same like number ranges work in command selectors (e. g. 8..10 for a value inclusively between eight and ten).