Skip to content

Commit

Permalink
Make organization of platform mixin packages consistent
Browse files Browse the repository at this point in the history
Fixes #2688
  • Loading branch information
jellysquid3 committed Oct 26, 2024
1 parent b3c70d5 commit 90b8762
Show file tree
Hide file tree
Showing 22 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.mixin.fabric.core.model.quad;
package net.caffeinemc.mods.sodium.mixin.core.model.quad;

import net.caffeinemc.mods.sodium.client.model.quad.BakedQuadView;
import net.caffeinemc.mods.sodium.client.model.quad.properties.ModelQuadFacing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.mixin.fabric.features.model;
package net.caffeinemc.mods.sodium.mixin.features.model;

import it.unimi.dsi.fastutil.objects.Reference2ReferenceOpenHashMap;
import net.minecraft.client.renderer.block.model.BakedQuad;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.mixin.fabric.features.model;
package net.caffeinemc.mods.sodium.mixin.features.model;

import net.minecraft.client.renderer.block.model.BakedQuad;
import net.minecraft.client.resources.model.BakedModel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.mixin.fabric.features.render.model.block;
package net.caffeinemc.mods.sodium.mixin.features.render.model.block;

import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.mixin.fabric.features.world.biome;
package net.caffeinemc.mods.sodium.mixin.features.world.biome;

import net.caffeinemc.mods.sodium.client.world.biome.BiomeColorMaps;
import net.minecraft.util.Mth;
Expand Down
12 changes: 6 additions & 6 deletions fabric/src/main/resources/sodium-fabric.mixins.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"package": "net.caffeinemc.mods.sodium.mixin.fabric",
"package": "net.caffeinemc.mods.sodium.mixin",
"required": true,
"compatibilityLevel": "JAVA_17",
"injectors": {
Expand All @@ -9,10 +9,10 @@
"conformVisibility": true
},
"client": [
"core.model.quad.BakedQuadMixin",
"features.model.MultiPartBakedModelMixin",
"features.model.WeightedBakedModelMixin",
"features.render.model.block.ModelBlockRendererMixin",
"features.world.biome.BiomeMixin"
"core.model.quad.BakedQuadMixin",
"features.model.MultiPartBakedModelMixin",
"features.model.WeightedBakedModelMixin",
"features.render.model.block.ModelBlockRendererMixin",
"features.world.biome.BiomeMixin"
]
}
3 changes: 2 additions & 1 deletion neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,5 @@ tasks {
processResources {
from(configurationCommonModResources)
}
}
}

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin.core.model.quad;
package net.caffeinemc.mods.sodium.mixin.core.model.quad;

import net.caffeinemc.mods.sodium.client.model.quad.BakedQuadView;
import net.caffeinemc.mods.sodium.client.model.quad.properties.ModelQuadFacing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.caffeinemc.mods.sodium.neoforge.mixin.features.model;
package net.caffeinemc.mods.sodium.mixin.features.model;

import it.unimi.dsi.fastutil.objects.Reference2ReferenceOpenHashMap;
import net.caffeinemc.mods.sodium.neoforge.mixin.ChunkRenderTypeSetAccessor;
import net.caffeinemc.mods.sodium.neoforge.mixin.SimpleBakedModelAccessor;
import net.caffeinemc.mods.sodium.mixin.platform.neoforge.ChunkRenderTypeSetAccessor;
import net.caffeinemc.mods.sodium.mixin.platform.neoforge.SimpleBakedModelAccessor;
import net.minecraft.client.renderer.ItemBlockRenderTypes;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.block.model.BakedQuad;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin.features.model;
package net.caffeinemc.mods.sodium.mixin.features.model;

import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.block.model.BakedQuad;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin.features.render.model.block;
package net.caffeinemc.mods.sodium.mixin.features.render.model.block;

import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin.features.world.biome;
package net.caffeinemc.mods.sodium.mixin.features.world.biome;

import net.caffeinemc.mods.sodium.client.world.biome.BiomeColorMaps;
import net.minecraft.util.Mth;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.caffeinemc.mods.sodium.client.render.frapi.render.AbstractBlockRenderContext;
import net.caffeinemc.mods.sodium.client.services.SodiumModelData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.caffeinemc.mods.sodium.client.world.SodiumAuxiliaryLightManager;
import net.neoforged.neoforge.common.world.AuxiliaryLightManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.neoforged.neoforge.client.ChunkRenderTypeSet;
import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.neoforged.neoforge.client.ClientHooks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.caffeinemc.mods.sodium.client.SodiumClientMod;
import net.minecraft.client.Minecraft;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;


import net.caffeinemc.mods.sodium.client.services.SodiumModelData;
import net.caffeinemc.mods.sodium.client.services.SodiumModelDataContainer;
import net.caffeinemc.mods.sodium.client.world.LevelSlice;
import net.caffeinemc.mods.sodium.client.world.SodiumAuxiliaryLightManager;
import net.minecraft.client.multiplayer.ClientLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.caffeinemc.mods.sodium.client.services.SodiumModelData;
import net.neoforged.neoforge.client.model.data.ModelData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import it.unimi.dsi.fastutil.objects.ReferenceLinkedOpenHashSet;
import net.minecraft.server.packs.repository.Pack;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.caffeinemc.mods.sodium.neoforge.mixin;
package net.caffeinemc.mods.sodium.mixin.platform.neoforge;

import net.minecraft.client.resources.model.SimpleBakedModel;
import net.neoforged.neoforge.client.ChunkRenderTypeSet;
Expand Down
30 changes: 15 additions & 15 deletions neoforge/src/main/resources/sodium-neoforge.mixins.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"package" : "net.caffeinemc.mods.sodium.neoforge.mixin",
"package" : "net.caffeinemc.mods.sodium.mixin",
"required" : true,
"compatibilityLevel" : "JAVA_17",
"injectors" : {
Expand All @@ -9,19 +9,19 @@
"conformVisibility" : true
},
"client" : [
"core.model.quad.BakedQuadMixin",
"features.model.MultiPartBakedModelMixin",
"features.model.WeightedBakedModelMixin",
"features.render.model.block.ModelBlockRendererMixin",
"features.world.biome.BiomeMixin",
"AbstractBlockRenderContextMixin",
"AuxiliaryLightManagerMixin",
"ChunkRenderTypeSetAccessor",
"ClientHooksMixin",
"EntrypointMixin",
"LevelSliceMixin",
"ModelDataMixin",
"ResourcePackLoaderMixin",
"SimpleBakedModelAccessor"
"core.model.quad.BakedQuadMixin",
"features.model.MultiPartBakedModelMixin",
"features.model.WeightedBakedModelMixin",
"features.render.model.block.ModelBlockRendererMixin",
"features.world.biome.BiomeMixin",
"platform.neoforge.AbstractBlockRenderContextMixin",
"platform.neoforge.AuxiliaryLightManagerMixin",
"platform.neoforge.ChunkRenderTypeSetAccessor",
"platform.neoforge.ClientHooksMixin",
"platform.neoforge.EntrypointMixin",
"platform.neoforge.LevelSliceMixin",
"platform.neoforge.ModelDataMixin",
"platform.neoforge.ResourcePackLoaderMixin",
"platform.neoforge.SimpleBakedModelAccessor"
]
}

0 comments on commit 90b8762

Please sign in to comment.