fabric/fabric-data-attachment-api-v1
apple502j 7b20cbb0f8
1.21.5 porting fixes ()
* Fix behavior change in `SingleVariantStorage` serialization

25w09a port added `orElseThrow()` call in `readNbt`, changing the behavior for
missing `variant` field. This previously used `fallback` (or, if the `codec` was
somehow a unit codec/could accept empty NBT, successfully decoded), but the change
made it throw. This makes it use the fallback in both cases.
Given that it is unlikely for a variant to use a unit codec, the remaining change is
deemed acceptable.

* Fix handling of incorrect NBT type in `AttachmentSerializingImpl`

* fix typo

* Remove broken wandering trader trade registration code

* Fix typo
2025-03-23 15:19:53 +00:00
..
src 1.21.5 porting fixes () 2025-03-23 15:19:53 +00:00
build.gradle Fix syncing block entity attachments on load. () 2025-01-21 18:47:31 +00:00