v1.10.48 for 1.19.2
Bug fix and backport update for Mantle.
JSON
- Validate numeric values when serializing in loadables
- Change field types for registry loadables to ResourceLocationLoadable, adds a few extra methods.
- Added loot injectors to easily add new entries to loot tables.
- Added new static field to
ResourceLocationLoadable
to minimize accidental fetches of the static field fromStringLoadable
- Added option for collection loadables to serialize single items to an entry instead of a list.
- Added
has_entity
andis_indirect
damage source predicates. - Enum map loadables now use enum maps for the internal data structure.
- Added SimpleRecordLoadable for the common case of a loadable record with only one field parsing into itself.
- Fix fluid container ingredient being marked as empty under some circumstances
Model
- Implemented datagen helpers for custom block models
- Fix connected models not supporting coloring fully
- Fix crash when retextured blocks have invalid NBT
- Fix potential crash with poorly written approaches to model rendering breaking the retextured block models.
Books
- Fix missing page numbers on books
Helpers
- Make a couple fluid transfer helper functions public, so they can be used in Tinkers
- Typed map builder now has a method that copies another typed map.
- Building block objects and children all now have a forEach method over the children.
Commands
- Added new BookCommand from 1.20 by @fuj1n in #217, see the docs
- Book related commands are now client commands. This means you no longer need to register book IDs with the command for them to show as suggestions. The book IDs registration will be removed in 1.20.
Full Changelog: v1.10.36...v1.10.48