-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Position-aware Texture Hotswapping #2818
Comments
Can you link the context on both the issues? |
I've added links to the relevant mixins in both issues. |
I recently changed how this is done. Now, instead of changing the texture atlas (which is highly error-prone), I swap the UVs in |
Are you able to use the Fabric Rendering APIs to implement your hook without mixins? It should provide a |
I'm on NeoForge, but I'll look into it with FFAPI eventually. |
Sodium does support the Fabric Rendering APIs even for NeoForge mods, but yeah, it's kind of difficult to make use in practice since that means your mod will have a dependency on the Forge-port Fabric API, which isn't even available for Minecraft 1.21.3. |
At that point I think it should just be ported to the Sodium API since Forgified FAPI already isn't very reliable version-wise. |
Request Description
This is a feature that I'm using in Legacy Landscape.
I don't think this is within the scope of an API (personally I'd mark it aswontfix
), but I was told to put it in the issue tracker anyway.Relevant Mixins
Mixin_DefaultChunkRendererMixin_BlockRendererAccessor_TerrainRenderPassI've recently changed how I achieve this. The relevant mixins are as follows:
Mixin_BlockRenderer
This is a vanilla mixin to allow falling back to regular textures:
Mixin_TextureAtlas
The text was updated successfully, but these errors were encountered: