Everything posted by jrockjake
-
[1.7.10] Mob Drop Handling
I can get my item to drop but I'm trying to make the item rare and not drop all the time. Here's my code, what should I do to make the drop happen, say 5% of the time * the level of Looting? http://pastebin.com/LhYsypKX
-
Disable XP spawned from a mod spawner
People are using soul shards for inf mob essence with minefactory reloaded, and currently there's no api to tap into to prevent grinders producing mob essence I'm not seeing the problem. Let people play how they want. No need to police your playerbase.
-
[1.7.10] Changing a Dropped Item and/or block in World with an Item
Topic says it all, I'm thinking of making sort of a Recycling Rod of sorts. I want the Rod to turn dropped pieces of armor into ingots or nuggets. I know the basics and everything but that's pretty much as far as tutorials go. Any help would be appreciated.
-
[1.7.10] Ticking Memory Connection
Boy I sure love how unstable my modpack is! I seem to crash when entering the world (if I get past the useless Mod Sorting message). Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) ~[nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) ~[bsx.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [?:?] Caused by: java.lang.NullPointerException at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:101) ~[FMLProxyPacket.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) ~[nc.class:?] ... 5 more [16:08:14] [server thread/ERROR]: This crash report has been saved to: C:\Users\VirusSlut\AppData\Roaming\.minecraft\modded\crash-reports\crash-2014-10-11_16.08.14-server.txt [16:08:14] [server thread/INFO]: Stopping server [16:08:14] [server thread/INFO]: Saving players [16:08:14] [server thread/INFO]: Saving worlds [16:08:14] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Nether [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/The End [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Underdark [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Atum [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Spirit World [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Torment [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Wyvern Lair [16:08:15] [server thread/INFO]: Saving chunks for level 'New World'/Bedrock Latest Crash log here: http://pastebin.com/c809PLbe Any help?
-
[1.7.2] Getting a block to play a sound
I can't seem to get this down. JSON: CODE: FILE TREE: I am probably missing something obvious but I'd like some help.
-
Include oredictionary entries scanner into forge
Are you fucking kidding me? Keep this in the Drecktech/IC^2 forums.
-
Creating a Ore? [HELP!]
Well for one the generation code should be in it's own class. Which should be referenced in the main mod file like this: GameRegistry.registerWorldGenerator(new WorldGeneratornamehere()); That's how I make my stuff spawn.
-
How to optimize setBlock during chunk generation
I'm not good at code, but could it be because generateSurface is private and WorldGenRoof is protected? I usually set all my code to public, and everything loads fine for me.
-
Damage Items when Crafted
It worked, thanks a lot!
-
Damage Items when Crafted
I know that much, but I can't figure out how. The switch from 1.2.5 to 1.3.2 is killing mine, and every other amateur modder's brains.
-
Damage Items when Crafted
Sorry if I seem repetitive, but I can't figure this thing out. I'm making a hammer item that, when crafted with an iron ingot, makes three chains to be used in chainmail armor. However, I want the hammer to not be destroyed during the crafting, instead taking damage. I've looked through TFC's code and can't figure it out, and I've rummaged through Forge itself and couldn't find anything. Some help would be appreciative, thanks.
IPS spam blocked by CleanTalk.