Jump to content

[1.7.10]Access Transformers not as simple as i thought?


Recommended Posts

Posted

It annoys me to have to ask for help for something i thought would be (and probably is) very simple but here i am.

 

I am trying to set up an access transformer for my mod and i almost have it figured out. Everything looks fine the private fields are showing as public in my IDE but when i try to start the game i get a weird crash i dont understand.

 

Connected to the target VM, address: '127.0.0.1:61236', transport: 'socket'
[06:16:21] [main/INFO] [GradleStart]: Extra: []
[06:16:21] [main/INFO] [GradleStart]: Found and added coremod: codechicken.core.launch.CodeChickenCorePlugin
[06:16:21] [main/INFO] [GradleStart]: Found and added coremod: codechicken.nei.asm.NEICorePlugin
[06:16:21] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Brandon/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[06:16:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[06:16:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[06:16:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[06:16:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[06:16:21] [main/INFO] [FML]: Forge Mod Loader version 7.10.25.1208 for Minecraft 1.7.10 loading
[06:16:21] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.7.0_51\jre
[06:16:21] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[06:16:21] [main/INFO] [FML]: Found a command line coremod : codechicken.nei.asm.NEICorePlugin
[06:16:21] [main/WARN] [FML]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:21] [main/INFO] [FML]: Found a command line coremod : codechicken.core.launch.CodeChickenCorePlugin
[06:16:22] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod cofh.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod invtweaks.forge.asm.FMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod openblocks.OpenBlocksCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/WARN] [FML]: The coremod openmods.OpenModsCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[06:16:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.asm.MCPDeobfuscationTransformer.LoadPlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.nei.asm.NEICorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.launch.CodeChickenCorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.launch.CodeChickenCorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod cofh.asm.LoadingPlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod invtweaks.forge.asm.FMLPlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.nei.asm.NEICorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod openblocks.OpenBlocksCorePlugin
[06:16:22] [main/INFO] [GradleStart]: Injecting location in coremod openmods.OpenModsCorePlugin
[06:16:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[06:16:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[06:16:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[06:16:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[06:16:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:22] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[06:16:24] [main/ERROR] [FML]: The minecraft jar file:/C:/Projects/Minecraft/1.7.10/Draconic-Evolution/build/dirtyArtifacts/forgeSrc-1.7.10-10.13.0.1208.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[06:16:24] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[06:16:24] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Projects/Minecraft/1.7.10/Draconic-Evolution/build/dirtyArtifacts/forgeSrc-1.7.10-10.13.0.1208.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[06:16:24] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[06:16:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
Adding Accesstransformer map: CoFH_at.cfg
[06:16:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[06:16:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[06:16:25] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[06:16:26] [main/INFO] [FML]: [OpenBlocks] Trying to patch EntityPlayer.isInBed (class: net.minecraft.entity.player.EntityPlayer)
[06:16:26] [main/INFO] [FML]: [OpenBlocks] isInBed patch applied. Enabling sleeping bags
[06:16:27] [main/INFO] [OpenMods]: openmods.OpenModsClassTransformer$2.createVisitor(OpenModsClassTransformer.java:34): Trying to apply movement callback (class: net.minecraft.client.entity.EntityPlayerSP)
[06:16:27] [main/INFO] [OpenMods]: openmods.movement.MovementPatcher$CallInjector.visitMethodInsn(MovementPatcher.java:70): Callback inserted. Using new movement handler.
[06:16:27] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_51]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/inventory/GuiInventory
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.inventory.GuiInventory
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/InventoryEffectRenderer
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.InventoryEffectRenderer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/inventory/GuiContainer
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.inventory.GuiContainer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error transforming method: [net/minecraft/client/gui/inventory/GuiContainer.drawScreen(IIF)V]
at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:238) ~[NotEnoughItems-1.7.10-1.0.3.64-dev.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.RuntimeException: Error transforming method: [net/minecraft/client/gui/inventory/GuiContainer.drawScreen(IIF)V]
at codechicken.lib.asm.ModularASMTransformer$MethodTransformer.transform(ModularASMTransformer.java:90) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer$ClassNodeTransformerList.transform(ModularASMTransformer.java:36) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer.transform(ModularASMTransformer.java:283) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:236) ~[NotEnoughItems-1.7.10-1.0.3.64-dev.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Caused by: java.lang.RuntimeException: Needle not found in Haystack:
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.preDraw ()V
   L0
    LINENUMBER 189 L0
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.preDraw ()V
   L1
    LINENUMBER 90 L1
    ALOAD 0
    INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawDefaultBackground ()V
   L2
    LINENUMBER 91 L2
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.guiLeft : I
    ISTORE 4
   L3
    LINENUMBER 92 L3
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.guiTop : I
    ISTORE 5
   L4
    LINENUMBER 93 L4
    ALOAD 0
    FLOAD 3
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGuiContainerBackgroundLayer (FII)V
   L5
    LINENUMBER 94 L5
    LDC 32826
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L6
    LINENUMBER 95 L6
    INVOKESTATIC net/minecraft/client/renderer/RenderHelper.disableStandardItemLighting ()V
   L7
    LINENUMBER 96 L7
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L8
    LINENUMBER 97 L8
    SIPUSH 2929
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L9
    LINENUMBER 98 L9
    ALOAD 0
    ILOAD 1
    ILOAD 2
    FLOAD 3
    INVOKESPECIAL net/minecraft/client/gui/GuiScreen.drawScreen (IIF)V
   L10
    LINENUMBER 99 L10
    INVOKESTATIC net/minecraft/client/renderer/RenderHelper.enableGUIStandardItemLighting ()V
   L11
    LINENUMBER 100 L11
    INVOKESTATIC org/lwjgl/opengl/GL11.glPushMatrix ()V
   L12
    LINENUMBER 101 L12
    ILOAD 4
    I2F
    ILOAD 5
    I2F
    FCONST_0
    INVOKESTATIC org/lwjgl/opengl/GL11.glTranslatef (FFF)V
   L13
    LINENUMBER 102 L13
    FCONST_1
    FCONST_1
    FCONST_1
    FCONST_1
    INVOKESTATIC org/lwjgl/opengl/GL11.glColor4f (FFFF)V
   L14
    LINENUMBER 103 L14
    LDC 32826
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
   L15
    LINENUMBER 104 L15
    ALOAD 0
    ACONST_NULL
    PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot;
   L16
    LINENUMBER 105 L16
    SIPUSH 240
    ISTORE 6
   L17
    LINENUMBER 106 L17
    SIPUSH 240
    ISTORE 7
   L18
    LINENUMBER 107 L18
    GETSTATIC net/minecraft/client/renderer/OpenGlHelper.lightmapTexUnit : I
    ILOAD 6
    I2F
    FCONST_1
    FDIV
    ILOAD 7
    I2F
    FCONST_1
    FDIV
    INVOKESTATIC net/minecraft/client/renderer/OpenGlHelper.setLightmapTextureCoords (IFF)V
   L19
    LINENUMBER 108 L19
    FCONST_1
    FCONST_1
    FCONST_1
    FCONST_1
    INVOKESTATIC org/lwjgl/opengl/GL11.glColor4f (FFFF)V
   L20
    LINENUMBER 111 L20
    ICONST_0
    ISTORE 8
   L21
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I] []
    ILOAD 8
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.inventorySlots : Lnet/minecraft/inventory/Container;
    GETFIELD net/minecraft/inventory/Container.inventorySlots : Ljava/util/List;
    INVOKEINTERFACE java/util/List.size ()I
    IF_ICMPGE L22
   L23
    LINENUMBER 113 L23
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.inventorySlots : Lnet/minecraft/inventory/Container;
    GETFIELD net/minecraft/inventory/Container.inventorySlots : Ljava/util/List;
    ILOAD 8
    INVOKEINTERFACE java/util/List.get (I)Ljava/lang/Object;
    CHECKCAST net/minecraft/inventory/Slot
    ASTORE 9
   L24
    LINENUMBER 114 L24
    ALOAD 0
    ALOAD 9
    INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.func_146977_a (Lnet/minecraft/inventory/Slot;)V
   L25
    LINENUMBER 116 L25
    ALOAD 0
    ALOAD 9
    ILOAD 1
    ILOAD 2
    INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.isMouseOverSlot (Lnet/minecraft/inventory/Slot;II)Z
    IFEQ L26
    ALOAD 9
    INVOKEVIRTUAL net/minecraft/inventory/Slot.func_111238_b ()Z
    IFEQ L26
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.objectUnderMouse (II)Z
    IFNE L26
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.objectUnderMouse (II)Z
    IFNE L26
   L27
    LINENUMBER 118 L27
    ALOAD 0
    ALOAD 9
    PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot;
   L28
    LINENUMBER 119 L28
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L29
    LINENUMBER 120 L29
    SIPUSH 2929
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L30
    LINENUMBER 121 L30
    ALOAD 9
    GETFIELD net/minecraft/inventory/Slot.xDisplayPosition : I
    ISTORE 10
   L31
    LINENUMBER 122 L31
    ALOAD 9
    GETFIELD net/minecraft/inventory/Slot.yDisplayPosition : I
    ISTORE 11
   L32
    LINENUMBER 123 L32
    ICONST_1
    ICONST_1
    ICONST_1
    ICONST_0
    INVOKESTATIC org/lwjgl/opengl/GL11.glColorMask (ZZZZ)V
   L33
    LINENUMBER 124 L33
    ALOAD 0
    ILOAD 10
    ILOAD 11
    ILOAD 10
    BIPUSH 16
    IADD
    ILOAD 11
    BIPUSH 16
    IADD
    LDC -2130706433
    LDC -2130706433
    INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGradientRect (IIIIII)V
   L34
    LINENUMBER 125 L34
    ICONST_1
    ICONST_1
    ICONST_1
    ICONST_1
    INVOKESTATIC org/lwjgl/opengl/GL11.glColorMask (ZZZZ)V
   L35
    LINENUMBER 126 L35
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
   L36
    LINENUMBER 127 L36
    SIPUSH 2929
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
   L26
    LINENUMBER 111 L26
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I net/minecraft/inventory/Slot] []
    IINC 8 1
    GOTO L21
   L22
    LINENUMBER 133 L22
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I] []
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V
   L37
    LINENUMBER 134 L37
    ALOAD 0
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGuiContainerForegroundLayer (II)V
   L38
    LINENUMBER 135 L38
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderObjects (II)V
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderObjects (II)V
   L39
    LINENUMBER 136 L39
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.mc : Lnet/minecraft/client/Minecraft;
    GETFIELD net/minecraft/client/Minecraft.thePlayer : Lnet/minecraft/client/entity/EntityClientPlayerMP;
    GETFIELD net/minecraft/client/entity/EntityClientPlayerMP.inventory : Lnet/minecraft/entity/player/InventoryPlayer;
    ASTORE 8
   L40
    LINENUMBER 137 L40
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack;
    IFNONNULL L41
    ALOAD 8
    INVOKEVIRTUAL net/minecraft/entity/player/InventoryPlayer.getItemStack ()Lnet/minecraft/item/ItemStack;
    GOTO L42
   L41
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer] []
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack;
   L42
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer] [net/minecraft/item/ItemStack]
    ASTORE 9
   L43
    LINENUMBER 139 L43
    ALOAD 9
    IFNULL L44
   L45
    LINENUMBER 141 L45
    BIPUSH 8
    ISTORE 10
   L46
    LINENUMBER 142 L46
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack;
    IFNONNULL L47
    BIPUSH 8
    GOTO L48
   L47
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I] []
    BIPUSH 16
   L48
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I] [i]
    ISTORE 11
   L49
    LINENUMBER 143 L49
    ACONST_NULL
    ASTORE 12
   L50
    LINENUMBER 145 L50
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack;
    IFNULL L51
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.isRightMouseClick : Z
    IFEQ L51
   L52
    LINENUMBER 147 L52
    ALOAD 9
    INVOKEVIRTUAL net/minecraft/item/ItemStack.copy ()Lnet/minecraft/item/ItemStack;
    ASTORE 9
   L53
    LINENUMBER 148 L53
    ALOAD 9
    ALOAD 9
    GETFIELD net/minecraft/item/ItemStack.stackSize : I
    I2F
    FCONST_2
    FDIV
    INVOKESTATIC net/minecraft/util/MathHelper.ceiling_float_int (F)I
    PUTFIELD net/minecraft/item/ItemStack.stackSize : I
    GOTO L54
   L51
    LINENUMBER 150 L51
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I I N] []
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147007_t : Z
    IFEQ L54
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147008_s : Ljava/util/Set;
    INVOKEINTERFACE java/util/Set.size ()I
    ICONST_1
    IF_ICMPLE L54
   L55
    LINENUMBER 152 L55
    ALOAD 9
    INVOKEVIRTUAL net/minecraft/item/ItemStack.copy ()Lnet/minecraft/item/ItemStack;
    ASTORE 9
   L56
    LINENUMBER 153 L56
    ALOAD 9
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_146996_I : I
    PUTFIELD net/minecraft/item/ItemStack.stackSize : I
   L57
    LINENUMBER 155 L57
    ALOAD 9
    GETFIELD net/minecraft/item/ItemStack.stackSize : I
    IFNE L54
   L58
    LINENUMBER 157 L58
    NEW java/lang/StringBuilder
    DUP
    INVOKESPECIAL java/lang/StringBuilder.<init> ()V
    LDC ""
    INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;
    GETSTATIC net/minecraft/util/EnumChatFormatting.YELLOW : Lnet/minecraft/util/EnumChatFormatting;
    INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/Object;)Ljava/lang/StringBuilder;
    LDC "0"
    INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;
    INVOKEVIRTUAL java/lang/StringBuilder.toString ()Ljava/lang/String;
    ASTORE 12
   L54
    LINENUMBER 161 L54
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I I java/lang/String] []
    ALOAD 0
    ALOAD 9
    ILOAD 1
    ILOAD 4
    ISUB
    ILOAD 10
    ISUB
    ILOAD 2
    ILOAD 5
    ISUB
    ILOAD 11
    ISUB
    ALOAD 12
    INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.drawItemStack (Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
   L44
    LINENUMBER 164 L44
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack] []
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack;
    IFNULL L59
   L60
    LINENUMBER 166 L60
    INVOKESTATIC net/minecraft/client/Minecraft.getSystemTime ()J
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackTime : J
    LSUB
    L2F
    LDC 100.0
    FDIV
    FSTORE 10
   L61
    LINENUMBER 168 L61
    FLOAD 10
    FCONST_1
    FCMPL
    IFLT L62
   L63
    LINENUMBER 170 L63
    FCONST_1
    FSTORE 10
   L64
    LINENUMBER 171 L64
    ALOAD 0
    ACONST_NULL
    PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack;
   L62
    LINENUMBER 174 L62
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack F] []
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackDestSlot : Lnet/minecraft/inventory/Slot;
    GETFIELD net/minecraft/inventory/Slot.xDisplayPosition : I
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147011_y : I
    ISUB
    ISTORE 11
   L65
    LINENUMBER 175 L65
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackDestSlot : Lnet/minecraft/inventory/Slot;
    GETFIELD net/minecraft/inventory/Slot.yDisplayPosition : I
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147010_z : I
    ISUB
    ISTORE 12
   L66
    LINENUMBER 176 L66
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147011_y : I
    ILOAD 11
    I2F
    FLOAD 10
    FMUL
    F2I
    IADD
    ISTORE 13
   L67
    LINENUMBER 177 L67
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147010_z : I
    ILOAD 12
    I2F
    FLOAD 10
    FMUL
    F2I
    IADD
    ISTORE 14
   L68
    LINENUMBER 178 L68
    ALOAD 0
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack;
    ILOAD 13
    ILOAD 14
    ACONST_NULL
    CHECKCAST java/lang/String
    INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.drawItemStack (Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
   L59
    LINENUMBER 181 L59
   FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack] []
    INVOKESTATIC org/lwjgl/opengl/GL11.glPopMatrix ()V
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager;
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderToolTips (II)V
    SIPUSH 2896
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
   L69
    LINENUMBER 190 L69
    SIPUSH 2929
    INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V
   L70
    LINENUMBER 191 L70
    INVOKESTATIC net/minecraft/client/renderer/RenderHelper.enableStandardItemLighting ()V
   L71
    LINENUMBER 192 L71
    RETURN
   L72


    ALOAD 8
    INVOKEVIRTUAL net/minecraft/entity/player/InventoryPlayer.getItemStack ()Lnet/minecraft/item/ItemStack;
    IFNONNULL L0
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot;
    IFNULL L0
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot;
    INVOKEVIRTUAL net/minecraft/inventory/Slot.getHasStack ()Z
    IFEQ L0
    ALOAD 0
    GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot;
    INVOKEVIRTUAL net/minecraft/inventory/Slot.getStack ()Lnet/minecraft/item/ItemStack;
    ASTORE 10
    ALOAD 0
    ALOAD 10
    ILOAD 1
    ILOAD 2
    INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.renderToolTip (Lnet/minecraft/item/ItemStack;II)V
   L0

at codechicken.lib.asm.InsnComparator.findN(InsnComparator.java:181) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.InsnComparator.findN(InsnComparator.java:187) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer$MethodReplacer.transform(ModularASMTransformer.java:234) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer$MethodTransformer.transform(ModularASMTransformer.java:88) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer$ClassNodeTransformerList.transform(ModularASMTransformer.java:36) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.lib.asm.ModularASMTransformer.transform(ModularASMTransformer.java:283) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?]
at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:236) ~[NotEnoughItems-1.7.10-1.0.3.64-dev.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180) ~[launchwrapper-1.9.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_51]
at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?]
... 8 more
Disconnected from the target VM, address: '127.0.0.1:61236', transport: 'socket'

Process finished with exit code 0

 

 

Everything i have done to get this far:

 

Created DraconicEvolution_at_at.cfg and put it in src\main\resources\META-INF

 

#Entity Living
public net.minecraft.entity.EntityLiving field_82182_bS

#Entity Living Base
public net.minecraft.entity.EntityLivingBase field_70718_bc

 

 

Created MANIFEST.MF and put it the the same place (I have no idea what this is or what it dose can someone please explain)

 

Manifest-Version: 1.0
FMLAT: "DraconicEvolution_at.cfg"

 

 

Added this to my build.gradle

 

jar {
    manifest {
        attributes 'FMLAT': 'DraconicEvolution_at.cfg'
    }
}

 

 

Is there anything i have left out or done incorrectly?

I am trying to follow this wiki article http://www.minecraftforge.net/wiki/Using_Access_Transformers but its a bit of a jumbled mess spread across multiple versions.

I am the author of Draconic Evolution

Posted

This is why I think people shouldn't freaking get any access to edit anything.

Why are you using a AT for something that has accessors?


    public ItemStack getHeldItem()
    {
        return this.equipment[0];
    }

    public ItemStack getEquipmentInSlot(int p_71124_1_)
    {
        return this.equipment[p_71124_1_];
    }

    public ItemStack func_130225_q(int p_130225_1_)
    {
        return this.equipment[p_130225_1_ + 1];
    }

    public void setCurrentItemOrArmor(int p_70062_1_, ItemStack p_70062_2_)
    {
        this.equipment[p_70062_1_] = p_70062_2_;
    }

    public ItemStack[] getLastActiveItems()
    {
        return this.equipment;
    }

As for recently hit, reflection!

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Darn it i searched for about 10 minutes for a way to set equipment how did i not find that! As for recently hit it is something i need to access a lot and from what i have read it is best to use an AT for something you need to access a lot Unless i have a different idea of what is a lot?. (I have a mob grinder that sets it in every mob it kills) And i wanted an excuse to learn how to use it anyway. 

 

Edit: Turns out there was a problem with the way i had CCC and NEI setup that for some reason didnt show itself until i started messing with the AT.

I am the author of Draconic Evolution

Posted

Ok that took some figuring out but i think i figured out what you are talking about (Sorry i know java but i dont know java that well)

 

private static Field recentlyHit;

if (recentlyHit == null) {
        recentlyHit = ReflectionHelper.findField(EntityLivingBase.class,  "recentlyHit", "field_70718_bc");
        recentlyHit.setAccessible(true);
}

try {
recentlyHit.setInt(mob, 60);
}
catch (IllegalAccessException e) {
LogHelper.error(e);
}

 

Is that correct?

I am the author of Draconic Evolution

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.