benfah Posted December 24, 2017 Posted December 24, 2017 Hi, I made a simple ClassTransformer that prints out the transformedName: import net.minecraft.launchwrapper.IClassTransformer; public class TestClassTransformer implements IClassTransformer { @Override public byte[] transform(String name, String transformedName, byte[] basicClass) { System.out.println(transformedName); return basicClass; } } The class names are being printed, however the class I want to transform (net.minecraft.world.gen.feature.WorldGenEndPodium) doesn't appear on this list. The fml-client-latest.log shows all the results. Try to search for the class. Why does this happen and how can I make the class transformable? Thanks in advance. fml-client-latest.log Quote
benfah Posted December 24, 2017 Author Posted December 24, 2017 Nevermind, the classes are only being transformed when they are used. Quote
benfah Posted December 26, 2017 Author Posted December 26, 2017 But what else am I supposed to do if this class doesn't have some kind of Event or Hook? Quote
LexManos Posted December 26, 2017 Posted December 26, 2017 5 hours ago, benfah said: But what else am I supposed to do if this class doesn't have some kind of Event or Hook? https://github.com/MinecraftForge/MinecraftForge/compare Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.