Skip to content

Port Accessories to Minecraft 1.21.11 (Fabric)#361

Open
roggy666 wants to merge 1 commit into
wisp-forest:1.21.9from
roggy666:1.21.11
Open

Port Accessories to Minecraft 1.21.11 (Fabric)#361
roggy666 wants to merge 1 commit into
wisp-forest:1.21.9from
roggy666:1.21.11

Conversation

@roggy666

Copy link
Copy Markdown
  • Update all mixins for 1.21.11 API changes
  • Fix WrapMethod annotations to use correct method names
  • Adapt to new render system (RenderState, SubmitNodeCollector)
  • Update NBT access patterns (Optional returns)
  • Fix registry access methods (lookupOrThrow, listElements)
  • Update component system for 1.21.11

Known limitations:

-Line rendering disabled**: The animated lines connecting accessory slots
to the player model are not rendered. The 1.21.11 line rendering API changed
significantly (now requires RenderPass/GpuBuffer instead of MultiBufferSource).

  • JEI integration disabled**: JEI is not yet available for 1.21.11.

  • NeoForge disabled: and didn't ported.

- Update all mixins for 1.21.11 API changes
- Fix WrapMethod annotations to use correct method names
- Adapt to new render system (RenderState, SubmitNodeCollector)
- Update NBT access patterns (Optional returns)
- Fix registry access methods (lookupOrThrow, listElements)
- Update component system for 1.21.11
@GustavoSchip

Copy link
Copy Markdown

JEI had its 1.21.11 version released recently

@GustavoSchip

Copy link
Copy Markdown

I can't seem to build this fork because the owo-lib does not resolve to my local build for the 1.21.11 port. Is it possible for you to provide a compiled jar?

@asrieldashie

asrieldashie commented Jan 26, 2026

Copy link
Copy Markdown

I can't seem to build this fork because the owo-lib does not resolve to my local build for the 1.21.11 port. Is it possible for you to provide a compiled jar?

You can clone the 1.21.11 branch of owolib, build the mod and run the following command within:

./gradlew generatePomFileForMavenJavaPublication

It should generate a file (owo-repo-folder)/owo-sentinel/build/publications/mavenJava/pom-default.xml, then you can rename and copy it to where gradle asked for the specific file.

For me, the path and filename is (accesories-repo-folder)/.gradle/loom-cache/remapped_mods/io/wispforest/owo-lib/0.12.24+1.21.11/owo-lib-0.12.24+1.21.11.pom (the mod jar file also goes here)

@artrixdotdev

Copy link
Copy Markdown

owolib now has a public 1.21.11 release, should be good to go now

@Noaaan

Noaaan commented Feb 23, 2026

Copy link
Copy Markdown
Member

This PR can now be re-targeted towards the 1.21.11 branch, although it will likely not be mergeable without some major work.
I suspect the new ActionResponse API Blod has been developing is the cause of the delay of the port, plus waiting + porting owo-lib for NeoForge. Whether these changes will survive such a large merge conflict is beyond me.

@j-w-q-d

j-w-q-d commented May 25, 2026

Copy link
Copy Markdown

Thanks to an internal discussion on a Discord server for a specific Minecraft server, we were talking about the issue of migrating the Minecraft world because the Accessories mod for versions 1.21.11 and later 1.26.x isn't fully compatible

I started vibe-coding a bit based on this branch, resolving issues with the mixins, the owo library, and certain language-related topics, and I began testing compatibility with other mods, such as Traveler’s Backpack, which already had its own unique features.

By far the most complicated part was the regression and re-targeting to the 1.21.11 branch without losing compatibility with api/tool and api/actions.

How would you like to proceed with these changes? Should I create a PR that targets 1.21.11 directly as a completely clean branch? That way, everyone can review the changes? It was definitely quite a rework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants