This PR copies 1.19.x into 1.20.x and updates to 1.20.1 in two separate commits so it's easy to see what changed. This runs on 1.20.1, should run on 1.20, and might on 1.20.2 (but I have not tested). The update wasn't too bad, just a few fiddly bits.
If you prefer not to sort the item group, it should be pretty easy to swap out the HashSet in ItemGroupInit for a list and remove the stream and sort on line 41.
This PR copies 1.19.x into 1.20.x and updates to 1.20.1 in two separate commits so it's easy to see what changed. This runs on 1.20.1, should run on 1.20, and might on 1.20.2 (but I have not tested). The update wasn't too bad, just a few fiddly bits.
If you prefer not to sort the item group, it should be pretty easy to swap out the HashSet in ItemGroupInit for a list and remove the stream and sort on line 41.