The goal of the PR would be to replace the use of ItemCountRange inside VariableOutput with vanillas IntProvider equivalent and update the KubeJS integration to use that instead (KubeJs natively supports IntProvider).
- this involves the use of CODECs to serialize/de-serialize the
IntProvider to json and network byte buffers.
- if possible you should add backwards compatibility for parsing json recipes with the old
ItemCountRange format