Jump to content

Dramentiaras

Members
  • Posts

    11
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Dramentiaras's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. This is probably not the problem, but you should use: Configuration config = new Configuration(event.getSuggestedConfigurationFile()); instead of Configuration config = new Configuration(new File("config/altarcraft.cfg")); Could you also post the error you're getting when running your mod?
  2. Hi, I've been working on a lately and I was thinking about exporting it as a jar and then running it with the minecraft 1.6.2 launcher. I exported the project as a jar using eclipse juno. Installed forge version 9.10.0.804 on the launcher (yes, my mod is using the same version). I tried to run and everything worked fine. I put my exported jar file in the mods folder. When I tried to run I got the following error: java.lang.NoSuchMethodError: net.minecraft.client.model.ModelRenderer.addBox(FFFIII)Lnet/minecraft/client/model/ModelRenderer; It's weird, because I do not get an error that the class is missing, my mod still finds the class but for some reason the method itself does not seem to exist. I've never bumped in to a problem like this before and have no idea how to resolve it. EDIT: The mod runs fine in eclipse.
  3. Wait, I think I got it to work, I just multiplied chunkX and Z with 16. However the println statements doesn't print out the correct locations.
  4. Hi! I'm pretty new to modding and have a weird error with my world generation. This is my IWorldGenerator class: package dramentiaras.crysathium.client.core; import java.util.Random; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; import dramentiaras.crysathium.common.CrysathiumMain; public class CrysathiumOreGenerator implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { BiomeGenBase biome = world.getBiomeGenForCoords(chunkX, chunkZ); for (int i = 0; i < 2; i++) { int randPosX = chunkX + random.nextInt(16); int randPosY = random.nextInt(32); int randPosZ = chunkZ + random.nextInt(16); (new WorldGenMinable(CrysathiumMain.blockOreCrysathium.blockID, 5)).generate(world, random, randPosX, randPosY, randPosZ); System.out.println("Crysathium Ore generated at x: " + randPosX + " y:" + randPosY + " z:" + randPosZ); } for (int i = 0; i < 2; i++) { int randPosX = chunkX + random.nextInt(16); int randPosY = random.nextInt(32); int randPosZ = chunkZ + random.nextInt(16); (new WorldGenMinable(CrysathiumMain.blockOreHunitite.blockID, 5)).generate(world, random, randPosX, randPosY, randPosZ); System.out.println("Hunitite Ore generated at x: " + randPosX + " y:" + randPosY + " z:" + randPosZ); } } } However when I create a new world the x and z coords are almost the same (about the range of -40 to 40). My conclusion is that it's generating ore in the same chunk over and over again. When I go to the coords I find tons of ore veins (however it should only generate 2 per chunk) and in other chunks I find none. I have never seen anyone with this problem before and I would very much appreciate any help I can get!
  5. Thank you! since I'm swedish I use the letter Ä, that's probably the problem! However when I look at the Unicode table the letter is available there, but maybe it's just how the program was made...
  6. Sorry I was wrong, I have Python 2.7, but I have a normal folder which I got by extracting the forge .zip folder into my MCP folder. PS. sorry for my bad english.
  7. When I try to decompile my forge by using install.cmd I get this error: I have no idea what the problem is. I have the latest version of forge and mcp. I am using pyhton 2.7.
  8. Hi! I get an error in my code after installing forge. My mod file can't find the Init Enum, Mod Enum nor the NetworkMod Enum, It can't find the FMLInitializationEvent and so on. Well, it can't find any of the forge code basically. I have searched the packages where it should be but can't find it there. I think it pretty much doesn't compile the forge files. I am using Eclipse Indigo.
  9. Thank you it worked! I was very sure that I had the latest versions, but apperently not! Thank you!
  10. I am. I updated to latest MCP and downloaded the latest forge src build, but I still get the error.
  11. I am new to these forums and I want to start modding, but when I decompile forge I get this error: decompile(None, False, False, True, True, False, True, False, False, False, False, False, False) TypeError: decompile() takes exactly 11 arguments (13 given) How do I fix this?
×
×
  • Create New...

Important Information

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