Skip to content

Commit

Permalink
Massive transformer relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Nov 18, 2024
1 parent 5d17392 commit 17e2b4d
Show file tree
Hide file tree
Showing 28 changed files with 51 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.cleanroommc.fugue.common;

import com.cleanroommc.fugue.config.FugueConfig;
import com.cleanroommc.fugue.transformer.*;
import com.cleanroommc.fugue.transformer.tfcmedical.CommonRegistrar$Transformer;
import net.minecraft.launchwrapper.Launch;
import net.minecraftforge.common.config.ConfigManager;
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@

import com.cleanroommc.fugue.config.FugueConfig;
import com.cleanroommc.fugue.modifiers.IC2ExtraFixer;
import com.cleanroommc.fugue.transformer.*;
import com.cleanroommc.fugue.transformer.advancedrocket.ClassTransformerTransformer;
import com.cleanroommc.fugue.transformer.betterfc.HK_LoaderTransformer;
import com.cleanroommc.fugue.transformer.codechickenlib.ClassHierarchyManagerTransformer;
import com.cleanroommc.fugue.transformer.colytra.EntityLivingBaseTransformer;
import com.cleanroommc.fugue.transformer.crossbow.TransformerEntityArrowTransformer;
import com.cleanroommc.fugue.transformer.customskinloader.ForgeTweakerTransformer;
import com.cleanroommc.fugue.transformer.dropt.ValidatorAdapterFactoryTransformer;
import com.cleanroommc.fugue.transformer.ears.EarsASMTransformer;
import com.cleanroommc.fugue.transformer.enchantmentcontrol.EnumInputClassTransformer;
import com.cleanroommc.fugue.transformer.endercore.EnderCoreTransformerTransformer;
import com.cleanroommc.fugue.transformer.exu.FieldSetterTransformer;
import com.cleanroommc.fugue.transformer.fivezig.ClassTweakerTransformer;
import com.cleanroommc.fugue.transformer.groovyscript.ASTTransformationCollectorCodeVisitorTransformer;
import com.cleanroommc.fugue.transformer.groovyscript.GroovyClassLoaderTransformer;
import com.cleanroommc.fugue.transformer.groovyscript.GroovyRunnerRegistryTransformer;
import com.cleanroommc.fugue.transformer.ic2ce.Ic2cExtrasLoadingPluginTransformer;
import com.cleanroommc.fugue.transformer.integrated_proxy.MixinLoaderTransformer;
import com.cleanroommc.fugue.transformer.logisticpipes.*;
import com.cleanroommc.fugue.transformer.loliasm.JavaFixesTransformer;
Expand All @@ -18,10 +30,21 @@
import com.cleanroommc.fugue.transformer.nothirium.NothiriumClassTransformerTransformer;
import com.cleanroommc.fugue.transformer.openmodlib.InjectorMethodVisitorTransformer;
import com.cleanroommc.fugue.transformer.openmodlib.PlayerRendererHookVisitorTransformer;
import com.cleanroommc.fugue.transformer.polyfrost.LaunchWrapperTweakerTransformer;
import com.cleanroommc.fugue.transformer.shouldersurfing.EntityPlayerRayTraceTransformer;
import com.cleanroommc.fugue.transformer.simplehotspring.SimplyHotSpringsConfigTransformer;
import com.cleanroommc.fugue.transformer.smoothfont.FontRendererTransformer;
import com.cleanroommc.fugue.transformer.splashanimation.SplashProgressTransformerTransformer;
import com.cleanroommc.fugue.transformer.subaquatic.PluginEntityTransformer;
import com.cleanroommc.fugue.transformer.subaquatic.SubaquaticIMTransformer;
import com.cleanroommc.fugue.transformer.survivalinc.ForgeASMInjectorTransformer;
import com.cleanroommc.fugue.transformer.universal.RemoveMixinInitFromCotrTransformer;
import com.cleanroommc.fugue.transformer.tickcentral.*;
import com.cleanroommc.fugue.transformer.universal.*;
import com.cleanroommc.fugue.transformer.valkyrie.MinecraftMixinTransformer;
import com.cleanroommc.fugue.transformer.vampirism.WorldGenVampireOrchidTransformer;
import com.cleanroommc.fugue.transformer.xnet.EnergyConnectorSettingsTransformer;
import com.cleanroommc.fugue.transformer.zerocore.DisplayListTransformer;
import org.spongepowered.asm.mixin.transformer.Config;
import org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper;
import top.outlands.foundation.TransformerDelegate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.advancedrocket;

import com.cleanroommc.fugue.common.Fugue;
import org.objectweb.asm.ClassReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.betterfc;

import com.cleanroommc.fugue.common.Fugue;
import javassist.CannotCompileException;
Expand All @@ -7,7 +7,6 @@
import javassist.expr.ExprEditor;
import javassist.expr.MethodCall;
import top.outlands.foundation.IExplicitTransformer;
import top.outlands.foundation.TransformerDelegate;

import java.io.ByteArrayInputStream;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.codechickenlib;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
import javassist.CtClass;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.tree.*;
import top.outlands.foundation.IExplicitTransformer;

import java.io.ByteArrayInputStream;

public class ClassHierarchyManagerTransformer implements IExplicitTransformer {
@Override
public byte[] transform(byte[] bytes) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.colytra;

import net.minecraft.launchwrapper.Launch;
import org.objectweb.asm.ClassReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.crossbow;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.customskinloader;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.dropt;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.ears;

import net.minecraftforge.fml.common.FMLLog;
import org.objectweb.asm.ClassReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.enchantmentcontrol;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.endercore;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.exu;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.fivezig;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.ic2ce;

import com.cleanroommc.fugue.common.Fugue;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.tree.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.liteloader;

import com.cleanroommc.fugue.common.Fugue;
import javassist.CannotCompileException;
Expand All @@ -7,7 +7,6 @@
import javassist.expr.ExprEditor;
import javassist.expr.NewArray;
import top.outlands.foundation.IExplicitTransformer;
import top.outlands.foundation.boot.Foundation;

import java.io.ByteArrayInputStream;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.polyfrost;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.shouldersurfing;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.simplehotspring;

import com.cleanroommc.fugue.common.Fugue;
import javassist.CannotCompileException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.smoothfont;

import net.minecraft.launchwrapper.Launch;
import org.objectweb.asm.ClassReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.splashanimation;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.subaquatic;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.survivalinc;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.tfcmedical;

import net.minecraft.launchwrapper.IClassTransformer;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Opcodes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.valkyrie;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.vampirism;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.xnet;

import com.cleanroommc.fugue.common.Fugue;
import javassist.CannotCompileException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.cleanroommc.fugue.transformer;
package com.cleanroommc.fugue.transformer.zerocore;

import com.cleanroommc.fugue.common.Fugue;
import javassist.ClassPool;
Expand Down

0 comments on commit 17e2b4d

Please sign in to comment.