Jump to content

WaitingToCompile

Members
  • Posts

    11
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I have NO IDEA what I'm trying to do

WaitingToCompile's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. So I'm working on a mod that includes a chunkloader block and I have a few questions. 1- how would I find to coordinates of a chunk from the coordinates of a block in that chunk 2- how do I find the name of a player when they try to place something and stop them from placing it if they have a certain name (so that server admins can blacklist some players from using chunkloaders) I'm pretty new to forge modding and I'm not massively proficient at java (my most ambitious non minecraft java project being a text based adventure game that I haven't finished yet) and I've probably overlooked something really obvious
  2. I was looking at blockfire late at night a while ago, must have missed something. I'm very new to forge and modding in general, and my java knowleadge isn't exacly as abundant as I'd like it to be. EDIT: I've got it working, I was trying to make it part of public static final part of the block rather than putting it in the init section.
  3. I was wondering how you make a block burn and control the fire spread rate of a block you have added. In modloader it was along the lines of ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[500] = 70; in the load method, but that doesn't work in forge for obvious reasons. Does anyone have any advice on how to do this in FML?
  4. Ok, thanksIve got it working now. I'd missed out one layer of directory
  5. So Idecided to get into forge modding, and following tutorials on the wiki I started out just making a mod that added one block. It worked fine in the MCP test client, however when I actually ran it in regular minecraft it output this error report [hide]--- BEGIN ERROR REPORT cab40e34 -------- Generated 09/10/12 18:52 - Minecraft Version: 1.3.2 - Operating System: Windows 7 (amd64) version 6.1 - Java Version: 1.7.0_07, Oracle Corporation - Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation - Memory: 439958928 bytes (419 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB) - JVM Flags: 2 total; -Xmx1024m -Xms512m - FML: FML v3.0.171.348 Minecraft Forge 4.0.0.243 3 mods loaded, 3 mods active FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed chaos [Warped Chaos] (0.1.0.zip) Unloaded->Errored - LWJGL: 2.8.3 - OpenGL: GeForce GT 520/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation - Is Modded: Definitely; 'forge,fml' - Type: Client - Texture Pack: Default - Profiler Position: N/A (disabled) cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mods.edken.warpedchaos.WarpedChaos at cpw.mods.fml.common.LoadController.transition(LoadController.java:102) at cpw.mods.fml.common.Loader.loadMods(Loader.java:459) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:141) at net.minecraft.client.Minecraft.a(Minecraft.java:405) at net.minecraft.client.Minecraft.run(Minecraft.java:737) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: mods.edken.warpedchaos.WarpedChaos at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:100) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81) at cpw.mods.fml.common.Loader.loadMods(Loader.java:458) ... 4 more Caused by: java.lang.NullPointerException at org.objectweb.asm.ClassReader.<init>(Unknown Source) at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:142) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:93) ... 31 more--- END ERROR REPORT 6ef2eea ----------[/hide] my sources are here http://www.mediafire.com/?1129th0aiud3nt2
  6. Many mods already have an autoassign functionality, and forge allows blocks to have any ID, meaning that ID clashes are unlikely (so long as the modder is careful when picking the IDs)
  7. That was be fumbling around to try to fix things, after it had throuwn an identical error on previous attempts with just the zip. I put all three in to see which one it tried to load first, and if it was capable of loading one but not the others.
  8. go here http://www.minecraftforge.net/wiki/Installation/Universal
  9. for a basic item to work with the ore dictionary it does need to be added in the code by the mod maker, but the point being that it can be used by any other mod that also has an equivelant item in the ore dictionary (a popular example is copper and tin, all forms registered through the ore dictionary are fully interchangeable.
  10. Thanks, I must have overlooked that. Edit: It doesn't seem to have fixed the problem however, it keeps throwing the exact same error.
  11. I'm new to forge modding, so following tutorials I made a mod that added one block. It worked fine in the MCP test client, but when I put it in my actual .minecraft it just threw an error at me. I've checked and all of my code seems correct, could someone point me in the right direction please? My sources and error log can be found here http://www.mediafire.com/?hd3cl3d76y599p2
×
×
  • Create New...

Important Information

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