Update to Minecraft 1.21.10 and adjust API with recent rendering changes
Fixes:
- Extra Data for unique slots properties were not sync to the client leading to issues
Changes:
- Adjust dump commands to give more useful information
- Add ability to set custom default values for accessory screen
- Add ability to open creative screen instead of accessories while in creative mode
API:
- Accessory Renderers now have a dedicated
AccessoryRenderState
used to store info unpacked for the given stack used to render later and general state setup for the given equipped accessory to prevent collisions. - Renders now have central
shouldRender
check used for checking if the given accessory should render in general. If you want to check for if something should render in first person, useAccessoriesRenderStateKeys.ARM
- Remove deprecated methods for translations to specific model parts
- Remove unused z-index of screens using owolib
- Disable Data driven rendering functions ability to render using delegate renderer for the time being
- Adjust setup to run using
AccessoriesRenderStateKeys.setupStateForAccessories
and only usecreateRenderState
for setting up needed state for rendering accessories - Rework EndecDataLoader for changes to resource loader registration on fabric and fix issue with registry existing after reload
Update to Minecraft 1.21.10 and adjust API with recent rendering changes
Fixes:
- Extra Data for unique slots properties were not sync to the client leading to issues
Changes:
- Adjust dump commands to give more useful information
- Add ability to set custom default values for accessory screen
- Add ability to open creative screen instead of accessories while in creative mode
API:
- Accessory Renderers now have a dedicated
AccessoryRenderState
used to store info unpacked for the given stack used to render later and general state setup for the given equipped accessory to prevent collisions. - Renders now have central
shouldRender
check used for checking if the given accessory should render in general. If you want to check for if something should render in first person, useAccessoriesRenderStateKeys.ARM
- Remove deprecated methods for translations to specific model parts
- Remove unused z-index of screens using owolib
- Disable Data driven rendering functions ability to render using delegate renderer for the time being
- Adjust setup to run using
AccessoriesRenderStateKeys.setupStateForAccessories
and only usecreateRenderState
for setting up needed state for rendering accessories - Rework EndecDataLoader for changes to resource loader registration on fabric and fix issue with registry existing after reload
Changes:
- Add Spanish (Mexian) Translations by TheLegendofSaram and Zailer43
- Optimize checking for slot containers size mismatch
- Adjust Attribute Builder to use parent maps when given the ability to to allow proper nested manipulation of builder data
- Fix issues with stack duplication when equipping on neoforge
- Fix issues with Cosmetic armor not working in common rendering places
- Fix issues with ordering of slots being different between the server and client causing odd slot interactions