Package cpw.mods.fml.common.asm.transformers.deobf

Examples of cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.unmap()


    name = name.replace('.', '/');
    ClassNode cn = new ClassNode(ASM4);
    cr.accept(cn, ClassReader.EXPAND_FRAMES);

    FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;
    String mOwner = remapper.unmap("net/minecraft/client/renderer/texture/TextureManager");

    l: {
      boolean updated = false;
      mc: for (MethodNode m : cn.methods) {
        String mName = remapper.mapMethodName(name, m.name, m.desc);
View Full Code Here


    ClassNode cn = new ClassNode(ASM4);
    cr.accept(cn, ClassReader.EXPAND_FRAMES);

    final String sig = "(III)Z";
    FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;
    final String itemstack = remapper.unmap("net/minecraft/item/ItemStack");

    l: {
      MethodNode m = null;
      for (MethodNode n : cn.methods) {
        if (names[0].equals(remapper.mapMethodName(name, n.name, n.desc)) && sig.equals(n.desc)) {
View Full Code Here

    ClassNode world = new ClassNode(ASM4);
    {
      FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;
      try {
        ClassReader reader = new ClassReader(LoadingPlugin.loader.getClassBytes(
            remapper.unmap("net/minecraft/world/World").replace('/', '.')));
        reader.accept(new FMLRemappingAdapter(world), ClassReader.SKIP_CODE);
      } catch (Throwable e) {
        Throwables.propagate(e);
      }
    }
View Full Code Here

    ClassNode worldServer = new ClassNode(ASM4);
    {
      FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;
      try {
        ClassReader reader = new ClassReader(LoadingPlugin.loader.getClassBytes(
            remapper.unmap("net/minecraft/world/WorldServer").replace('/', '.')));
        reader.accept(new FMLRemappingAdapter(worldServer), ClassReader.SKIP_CODE);
      } catch (Throwable e) {
        Throwables.propagate(e);
      }
    }
View Full Code Here

    ClassNode world = new ClassNode(ASM4);
    {
      FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;
      try {
        ClassReader reader = new ClassReader(LoadingPlugin.loader.getClassBytes(
            remapper.unmap("net/minecraft/world/World").replace('/', '.')));
        reader.accept(new FMLRemappingAdapter(world), ClassReader.SKIP_CODE);
      } catch (Throwable e) {
        Throwables.propagate(e);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.