Everything posted by kenoba10
-
Mod Crashes when run on Server
I did some research and I figured it out otherwise
-
Mod Crashes when run on Server
What u mean Item#?
-
Mod Crashes when run on Server
it works fine in the client because FML includes a ModLoader legacy layer so that it can run ModLoader mods. But that only exists on the client (since ModLoader it self is only client-side, too). If you got this from a tutorial then go kick the author in the butt. Ok thanks I'll do that but how would I do it otherwise do you know?
-
Mod Crashes when run on Server
Not really. The crash is from you calling a ModLoader method. I initialized the armor and when I did i used for the 3rd parameter ModLoader.addArmor() and it works with forge in eclipse and in client
-
Mod Crashes when run on Server
Not really. The crash is from you calling a ModLoader method. well it works just fine in my Minecraft and Eclipse but not on the server And this is what the tutorial i watched a few months ago told me to do to create armor
-
Mod Crashes when run on Server
I'm using Forge
-
Mod Crashes when run on Server
Hi. Whenever I run my mod in my minecraft forge server my server crashes Heres my crash log: ---- Minecraft Crash Report ---- // Why did you do that? Time: 7/28/13 10:21 AM Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I at cpw.mods.fml.common.LoadController.transition(LoadController.java:148) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:698) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:94) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:141) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582) Caused by: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I at Kenoba10.Too_Much_Tools.common.Too_Much_Tools.load(Too_Much_Tools.java:284) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:193) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:104) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697) ... 5 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 864370504 bytes (824 MB) / 1029046272 bytes (981 MB) up to 1029046272 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.04 FML v6.2.19.789 Minecraft Forge 9.10.0.789 4 mods loaded, 4 mods active mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{6.2.19.789} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge{9.10.0.789} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized ToolCraft{Beta 1.0} [Tool Craft] (ToolCraft Beta 1.0.zip) Unloaded->Constructed->Pre-initialized->Errored Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt)
- Invincible Armor
-
Invincible Armor
i found that out recently but I dont know how to i guess i will look it up and try that thanks for the code though i hope it works if it does i will add you to my mod credits
-
Invincible Armor
one armor class per item
-
Invincible Armor
what if i used multiple armor classes would I put it in all of them?
-
Invincible Armor
do i put this in my main class or in my armor class?
-
Invincible Armor
How do i set the player to invincible and check if their wearing the armor or at least what class would i look in?
-
Invincible Armor
Hi. In my mod I have an armor set that i want to be invincible so the player takes no damage. Here's my code: public static EnumArmorMaterial armorInvincible = EnumHelper.addArmorMaterial("Invincible", 0, new int[] {0, 0, 0, 0}, 30); How do I do this?
-
Special Ability Tools
Thanks everything works
-
Special Ability Tools
I'm gonna take a guess you decompiled Thaumcraft 2 and this is the pickaxe of the core code? It works though Thanks so much!
-
Special Ability Tools
I stopped making it because I ran in to problems I couldnt find out how to solve nobody knew such as how to prevent the default block drop
-
Special Ability Tools
Yes, it was auto-smelting. Crouching allowed you to mine without dropping the smelted ore, and right clicking spawned a guide wisp, but I can assure you that by default it was auto-smelting. Oh I don't know that much about Thaumcraft really maybe thats the pickaxe of the core in ThaumCraft 3 that I was thinking if that makes it not copying
-
Special Ability Tools
Thaumcraft 2 had the Pickaxe of the Core, so I guess you actually stole it from him. well that pickaxe had like a 33 % chance of dropping a native ore cluster and crap it wasnt auto smelting
-
Special Ability Tools
It was my idea thats Copy Right I was gonna do that already
-
Special Ability Tools
I'm giving up on the auto smelting pickaxe idea I'll think of something else for my pickaxe. Thanks for the help though
-
Special Ability Tools
Thanks but when I break it with the pick the first time i break that ore type I get an ingot and the ore, the rest of the then I just get the ore back That makes sense. The problem with the ore is the fact that what a block drops is set inside the block's class. And to my knowledge, there is no way to void that block drop. But I guess you could do a hackish type job by using gamerules... By that I mean set block drops to false and then back to true again once it dropped the item. As to it only working once... I am not sure How would I set blcok drops to false??
-
Special Ability Tools
How can I make this auto smelting pickaxe its getting very frustrating how could I do the gamemode thing though?
-
How would I go about making an autosmelting pickaxe?
its not working
-
How would I go about making an autosmelting pickaxe?
Hi. I've been working on a mod the past few weeks and I'm trying to create an autosmelting pickaxe. So far I've managed to make it drop both the ore and the ingot the first time you do it after logging in but then it only drops the ore. Any ideas? Here's my code so far: public boolean onBlockDestroyed(ItemStack itemStack, World world, int par1, int par2, int par3, int par4, EntityLivingBase entityLivingBase) { Block brokenBlock = Block.blocksList[world.getBlockId(par2, par3, par4)]; int meta = world.getBlockMetadata(par2, par3, par4); if (brokenBlock != null) { ItemStack result = FurnaceRecipes.smelting().getSmeltingResult(new ItemStack(brokenBlock, 1, meta)); if (result != null) { EntityItem drop = new EntityItem(world, par2, par3, par4, result); world.spawnEntityInWorld(drop); return false; } } return true; }
IPS spam blocked by CleanTalk.