Skip to content

Commit

Permalink
organize compat mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Aug 5, 2023
1 parent 773d352 commit 2bb2682
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.flywheel;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.flywheel;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.flywheel;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import net.coderbot.iris.pipeline.ClearPass;
import org.joml.Vector4f;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import net.coderbot.iris.postprocess.FinalPassRenderer;
import org.lwjgl.opengl.GL11;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import net.coderbot.iris.Iris;
import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import net.coderbot.iris.pipeline.newshader.NewWorldRenderingPipeline;
import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import net.coderbot.iris.shadows.ShadowRenderTargets;
import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import me.jellysquid.mods.sodium.client.render.chunk.shader.ChunkShaderOptions;
import net.coderbot.iris.compat.sodium.impl.shader_overrides.IrisChunkShaderInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.iris;

import com.mojang.blaze3d.shaders.Program;
import me.jellysquid.mods.sodium.client.render.chunk.vertex.format.ChunkVertexType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.sodium;

import me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer;
import me.jellysquid.mods.sodium.client.render.chunk.RenderSectionManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.sodium;

import me.jellysquid.mods.sodium.client.gl.GlObject;
import me.jellysquid.mods.sodium.client.render.chunk.shader.ChunkShaderInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.sodium;

import me.jellysquid.mods.sodium.client.render.chunk.RenderSectionManager;
import me.jellysquid.mods.sodium.client.render.chunk.lists.SortedRenderListBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.sodium;

import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qouteall.imm_ptl.core.compat.mixin;
package qouteall.imm_ptl.core.compat.mixin.sodium;

import me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer;
import me.jellysquid.mods.sodium.client.render.viewport.Viewport;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraft.client.multiplayer.ClientLevel;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import org.jetbrains.annotations.Nullable;
import qouteall.imm_ptl.core.compat.mixin.IESodiumWorldRenderer;
import qouteall.imm_ptl.core.compat.mixin.sodium.IESodiumWorldRenderer;
import qouteall.imm_ptl.core.render.FrustumCuller;

@Environment(EnvType.CLIENT)
Expand Down
30 changes: 15 additions & 15 deletions imm_ptl_core/src/main/resources/imm_ptl_compat.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
"compatibilityLevel": "JAVA_17",
"plugin": "qouteall.imm_ptl.core.compat.IPCompatMixinPlugin",
"mixins": [
"IESodiumWorldRenderer",
"MixinFlywheelCrumblingRenderer",
"MixinFlywheelProgramCompiler",
"MixinFlywheelQuadConverter",
"MixinIrisClearPass",
"MixinIrisFinalPassRenderer",
"MixinIrisIris",
"MixinIrisNewWorldRenderingPipeline",
"MixinIrisShadowRenderTargets",
"MixinIrisSodiumChunkShaderInterface",
"MixinIrisSodiumSodiumTerrainPipeline",
"MixinSodiumChunkShaderInterface",
"MixinSodiumRenderSectionManager",
"MixinSodiumShaderLoader",
"MixinSodiumWorldRenderer"
"flywheel.MixinFlywheelCrumblingRenderer",
"flywheel.MixinFlywheelProgramCompiler",
"flywheel.MixinFlywheelQuadConverter",
"iris.MixinIrisClearPass",
"iris.MixinIrisFinalPassRenderer",
"iris.MixinIrisIris",
"iris.MixinIrisNewWorldRenderingPipeline",
"iris.MixinIrisShadowRenderTargets",
"iris.MixinIrisSodiumChunkShaderInterface",
"iris.MixinIrisSodiumSodiumTerrainPipeline",
"sodium.IESodiumWorldRenderer",
"sodium.MixinSodiumChunkShaderInterface",
"sodium.MixinSodiumRenderSectionManager",
"sodium.MixinSodiumShaderLoader",
"sodium.MixinSodiumWorldRenderer"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 2bb2682

Please sign in to comment.