[1.21.10] Accessories [Neoforge] - 1.4.0

Changelog

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, use AccessoriesRenderStateKeys.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 use createRenderState 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

Files

accessories-neoforge-1.4.0-beta+1.21.10.jar(1.51 MiB) Primary Download
accessories-neoforge-1.4.0-beta+1.21.10-sources.jar(667.48 KiB) Download