Closed eclipseisoffline closed 1 month ago
Did some basic testing and everything seems to work okay. I have implemented an updater/datafixer for containers locked with key item stacks, which required me to change the way these are stored in a block entity's NBT a bit, this now includes the data version in which the NBT was stored, which allows for easy updating of key items in the future. When no data version is stored, data version 3700 (1.20.4 equivalent) is assumed.
Not sure if the way I implemented the datafixer with the data version stored in the block entity's NBT is the best way to do it, but it does work. Old key items from 1.20.4 seem to convert nicely over to the new components system in 1.20.5.
Got a successful build implementing registry lookups for item serialisation, will test in a moment.