
loawkise
Members-
Posts
186 -
Joined
-
Last visited
Everything posted by loawkise
-
I am supposed to be using "gradlew jar" to build the parent mod, then placing it in the eclipse/mods folder right? I feel like I have missed something fairly obvious... thanks for the help though.
-
Created a completely new folder and setup everything from scratch without the flarDir block and still get them same problem. I have tried reinstalling Eclipse too but it is literally when I add the mod.jar in the libraries bit, I get the error, but I have to do this to access the mod.
-
That didn't do anything, I really don't know what is going on, it was all working yesterday.
-
Okay, I have everything done and I understand what I am doing now, but there is just one problem left. Whenever I add my mod to my dev environment I get the error on launching that says I have mod sources that are duplicate within my system, however, I am using a fresh environment with only the example mod.
-
That seemed to just make it crash when trying to build. Should I not be copying that exactly.
-
I got it working thanks, but now I am just wondering how to access any of the classes inside the parent mod as it just appears as a .jar file.
-
Thanks for the explanation, I do appreciate it. So the problem I was having before was because the method was obfusacted? (func_77655_b) If so then how can I create a deobfuscated version myself, like the dev versions of other mods as the mod I want to use doesn't have a dev version? Is it even possible? Thanks in advance
-
Ahhh right thanks What is the difference between the dev and the regular versions, I am now curious??
-
Okay, how can I get one of these forms then if I had permission to use the original mod? Sorry if I am not making any sense just never done anything like this before.
-
Anyone know of any tutorials that might help or anything?
-
Still getting the exact same crash on launch... anything else I can try?
-
So you mean make a libs folder alongside all the other folders like eclipse, gradle and src etc, or somewhere else? Thanks for the help though.
-
Well I put it in the mods folder but it crashes when it starts up saying: java.lang.NoSuchMethodError: com.blocklings.items.ItemTab.func_77655_b(Ljava/lang/String;)Lnet/minecraft/item/Item; at com.blocklings.items.ItemTab.<init>(ItemTab.java:12) at com.blocklings.main.Blocklings.<clinit>(Blocklings.java:44) No clue what would cause this as that item doesn't even exist.
-
I will try that then, thanks. Not sure then if I need to do the decompile thing then... we shall see.
-
I want to create a mod addon and understand I need to have the parent mod installed into my current environment but I can't seem to figure out how to do it. The tutorial I found refers to MCP and its directories which I don't have. It says I need to decompile the mod and then place it into forge/mcp/jars/mods/ which is nowhere in my setup. Can someone steer me in the right direction as I am lost.
-
I used NBTTags in 1.7.10 to save variables within an item class by using: itemStack.stackTagCompound = new NBTTagCompound(); However, it appears to have changed in 1.8 and I don't know what to.
-
I get this crash whenever I try to run the game... [12:13:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [12:13:27] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [12:13:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_67, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.7.0_67\jre [12:13:27] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [12:13:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:13:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:13:27] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [12:13:28] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Will's/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.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! [12:13:28] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [12:13:28] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Will's/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1121/forgeSrc-1.7.2-10.12.2.1121.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [12:13:28] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [12:13:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:13:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:13:28] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [12:13:28] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_67] 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:?] Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) ~[?:1.7.0_67] at java.lang.Runtime.loadLibrary0(Runtime.java:849) ~[?:1.7.0_67] at java.lang.System.loadLibrary(System.java:1088) ~[?:1.7.0_67] at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_67] at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?] at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2690) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?] ... 6 more
-
Are you referring to: tasks.addTask(3, new EntityAIAttackOnCollide(this, 1.0D, false));
-
How do I stop my entity from targeting players, I just want it to attack mobs.
-
Okay, that should be fine, thanks for clarifying things.
-
Sorry, it is an Item array list, is that okay?
-
I have an array list that I need to write to NBT for my entity but I don't know how to do it, if you have an idea I would be grateful if you'd let me know. Thanks in advance.
-
It's to so I can use the level variable in my model class for animation. Am I doing it wrong??
-
I have used CatDany's packet handling example and it works fine when I use it like this: @Override public void onLivingUpdate() { super.onLivingUpdate(); IMessage syncLevel = new SimplePacket.SimpleMessage(level); level++; System.out.println(level); PacketHandler.net.sendToServer(syncLevel); } However, when I use it in this method, which is called every time my entity attacks, it doesn't have an effect anymore: public void checkLevel() { if(xp >= 100) { level++; xp = 0; IMessage syncLevel = new SimplePacket.SimpleMessage(level); System.out.println(level); PacketHandler.net.sendToServer(syncLevel); } } If someone could explain what I am doing wrong so I can fix it, that would be great. Entity: Packet: