Split MixinRenderManager into two for DAPI compat (#1480)

This commit is contained in:
MalTeeez authored and GitHub committed 2026-03-08 06:07:01 +01:00
1 parent cb5e2ed7d4
commit ab192ddd2a
2 files changed
+49 -1

No files matched your search

@@ -229,7 +229,6 @@ public enum Mixins implements IMixins {
, "shaders.MixinRenderGlobal"
, "shaders.MixinRenderHorse"
, "shaders.MixinRenderItem"
, "shaders.MixinRenderManager"
, "shaders.MixinRenderNameTag"
, "shaders.MixinRenderPlayerArmor"
, "shaders.MixinTileEntityBeaconRenderer"
@@ -238,6 +237,24 @@ public enum Mixins implements IMixins {
)
),
IRIS_SHADERS_RENDER_MANAGER(new MixinBuilder()
.setPhase(Phase.EARLY)
.setApplyIf(() -> AngelicaConfig.enableIris)
.addExcludedMod(TargetedMod.DRAGON_API)
.addClientMixins(
"shaders.MixinRenderManager"
)
),
IRIS_SHADERS_RENDER_MANAGER_DAPI(new MixinBuilder()
.setPhase(Phase.EARLY)
.setApplyIf(() -> AngelicaConfig.enableIris)
.addRequiredMod(TargetedMod.DRAGON_API)
.addClientMixins(
"shaders.MixinRenderManagerDAPI"
)
),
IRIS_RENDERING_NOBACKHAND(new MixinBuilder("Iris Hand Shaders")
.setPhase(Phase.EARLY)
.setApplyIf(() -> AngelicaConfig.enableIris)