Isn't ASM fun?
This commit is contained in:
parent
1fbc66d690
commit
3c7becd3fa
1 changed files with 3 additions and 1 deletions
|
@ -48,8 +48,10 @@ public class BOPTransformer implements IClassTransformer
|
|||
@Override
|
||||
public byte[] transform(String name, String transformedName, byte[] basicClass)
|
||||
{
|
||||
if (name.equals("net.minecraft.client.resources.model.ModelBakery"))
|
||||
if (name.equals("net.minecraft.client.resources.model.ModelBakery") || name.equals("cxh"))
|
||||
{
|
||||
System.out.println("Tweaking ModelBakery...");
|
||||
|
||||
ClassNode classNode = ASMUtil.getClassNode(basicClass);
|
||||
MethodNode variantsMethodNode = ASMUtil.getMethodNode(classNode, registerVariantNames, "()V");
|
||||
|
||||
|
|
Loading…
Reference in a new issue