Jump to content

DeadEnd78

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by DeadEnd78

  1. I brought all the artillery, and tried the brute force method. IT WORKED! It was a corrupted download. All that matters is that it worked. Thank you so much. I can't believe somebody actually figured it out. +1 Thank You for you! (BEST MOD EVER!)
  2. Nope. Still fails with the exact same thing. One thing I should say, the exception is java.util.zip.ZipException: invalid distance too far back. I looked it up, apparently it is corrupted. Although I don't know how to fix it. I have tried re-downloading, I even tried using Forge 1.6.4 and got the same error. It has to be my computer or Java...
  3. Alright, I find it ridiculous that STILL nobody has even tried to help this beautiful creature.
  4. I guess I am never modding again.... D: (:3)
  5. Hi MinecraftForge forums... I was just installing forge and everything on my new computer (I had it on my last one) and it won't work. I keep getting the same error on ForgeGradle. I can't seem to find it anywhere >.< Log: Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\Users\BLURRED (NOT MY USER)>cd Desktop/Forge Modding C:\Users\BLURRED (NOT MY USER)\Desktop\Forge Modding>gradlew setupDecompWorkspace The assetDir is deprecated! Use runDir instead! runDir set to eclipse/assets/.. **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** :extractUserDev UP-TO-DATE :genSrgs SKIPPED :extractNatives FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':extractNatives'. > java.util.zip.ZipException: invalid distance too far back * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 7.319 secs C:\Users\BLURRED (NOT MY USER)\Desktop\Forge Modding>
  6. Yikes! That's some top-priority generation!! Instead of using an absurd weight, try registering your generator in your mod's initialization stage instead of your pre-initialization stage. That way your WorldGen gets registered AFTER the vanilla generators and is weighted only against other mods' generators who have done the same. Thank you guys, It worked. DA REAL MVP(S)!!
  7. Everywhere. I added a System.out.println("Spawned at: " + world + " " + chunkX + " " + chunkY + " " + chunkZ); It prints out many times that the ore has spawned, but when I check any of the coordinates it does not show the ore. Pleeeease help! I really don't know what i am doing wrong!!
  8. Sorry for the early bump, but this is pretty important ;c
  9. Hi fellow forgers (ha ha, see what I did there?) Anyway, I recently started coding with forge and made my first attempt at ore generation (I was following a tutorial for guidance.) It failed. The ore does not generate, even with the obscure numbers I have set. Any help is appreciated. Below is my ore generation class. package com.DeadEnd78.block; import java.util.Random; import com.DeadEnd78.Main.MainRegistry; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class withiumOreGeneration implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId) { case -1: generateInNether(world, random, chunkX*16, chunkZ*16); break; case 0: generateInOverworld(world, random, chunkX*16, chunkZ*16); break; case 1: generateInEnd(world, random, chunkX*16, chunkZ*16); } } private void generateInEnd(World world, Random random, int x, int z) { // TODO Auto-generated method stub } private void generateInOverworld(World world, Random random, int x, int z) { // TODO Auto-generated method stub for (int i = 0; i < 25; i++) { // means set i = 0, then if its less than 25 keep adding one to i int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(256); int chunkZ = z + random.nextInt(16); new WorldGenMinable(MainRegistry.withiumOre, 50).generate(world, random, chunkX, chunkY, chunkZ); } } private void generateInNether(World world, Random random, int x, int z) { // TODO Auto-generated method stub } } Next is my main registry (I know it is messy) package com.DeadEnd78.Main; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import com.DeadEnd78.lib.RefStrings; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import com.DeadEnd78.block.*; @Mod (modid = RefStrings.MODID , name = RefStrings.NAME , version = RefStrings.VERSION) public class MainRegistry { @SidedProxy(clientSide = RefStrings.CLIENTSIDE, serverSide = RefStrings.SERVERSIDE) public static ServerProxy proxy; @Instance(value="growaspell") public static MainRegistry instance; public static CreativeTabs gasTab = new CreativeTabs("Grow a Spell"){ @Override @SideOnly(Side.CLIENT) public Item getTabIconItem(){ return Items.stick; } }; public static withiumOreGeneration withiumWorldGen; public static Block withiumOre; public static Item withiumOreItem; @EventHandler public static void PreLoad(FMLPreInitializationEvent PreEvent) { proxy.registerRenderInfo(); withiumOre = new withiumOreBlock(Material.rock).setBlockName("WithiumOre").setCreativeTab(MainRegistry.gasTab).setBlockTextureName("growaspell:withiumOre"); withiumOreItem = new withiumOreItem().setUnlocalizedName("WithiumShard").setCreativeTab(MainRegistry.gasTab).setTextureName(""); withiumWorldGen = new withiumOreGeneration(); GameRegistry.registerItem(withiumOreItem, "Withium Shard"); GameRegistry.registerBlock(withiumOre, "Withium Ore"); GameRegistry.registerWorldGenerator(withiumWorldGen, 1); } Much love, Dead <3
×
×
  • Create New...

Important Information

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