Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers committed Dec 19, 2023
1 parent c978e00 commit c552ba1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.

This file was deleted.

3 changes: 2 additions & 1 deletion src/main/java/gregtech/api/GTValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ public class GTValues {
MODID_TCON = "tconstruct",
MODID_PROJRED_CORE = "projectred-core",
MODID_RC = "railcraft",
MODID_CHISEL = "chisel";
MODID_CHISEL = "chisel",
MODID_LITTLETILES = "littletiles";

private static Boolean isClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public List<String> getMixinConfigs() {
configs.add("mixins.gregtech.jei.json");
configs.add("mixins.gregtech.ctm.json");
configs.add("mixins.gregtech.ccl.json");
configs.add("mixins.gregtech.littletiles.json");

return configs;
}
Expand All @@ -29,6 +30,7 @@ public boolean shouldMixinConfigQueue(String mixinConfig) {
case "mixins.gregtech.theoneprobe.json" -> Loader.isModLoaded(GTValues.MODID_TOP);
case "mixins.gregtech.jei.json" -> Loader.isModLoaded(GTValues.MODID_JEI);
case "mixin.gregtech.ctm.json" -> Loader.isModLoaded(GTValues.MODID_CTM);
case "mixins.gregtech.littletiles.json" -> Loader.isModLoaded(GTValues.MODID_LITTLETILES);
default -> true;
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

// TODO, I am not quite sure if this matches with what the ASM was actually doing
// TODO, transition to using the direct path method, and remove the dependency on LittleTiles
@Mixin(value = TileEntityRenderManager.class, remap = false)
public class LittleTilesRenderMangerMixin {

Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/mixins.gregtech.littletiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"mixins" : [
"LittleTilesRenderMangerMixin"
],
"client" : [
],
"client": [],
"server" : []
}

0 comments on commit c552ba1

Please sign in to comment.