Jump to content

TheMurkyModder

Members
  • Posts

    18
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    New York
  • Personal Text
    Learning Java

TheMurkyModder's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  1. Oh my god, I totally forgot about that! Thanks for asking!
  2. Here is the code of the generator. There are no errors at all package worldgen; import java.util.Random; import worldgen.feature.StructureRuinsmall; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.chunk.IChunkProvider; import cpw.mods.fml.common.IWorldGenerator; public class worldgen implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId){ case 0: generateSurface(world, random, chunkX*16, chunkZ*16); } } private void generateSurface(World world, Random random, int x, int z) { BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(x, z); if ((biome == BiomeGenBase.plains)){ for (int a = 0; a < 1; a++){ int i = x + random.nextInt(256); int k = z + random.nextInt(256); int j = world.getHeightValue(i, k); new StructureRuinsmall().generate(world, random, i, k, j); } } } }
  3. I was wondering right now, I'm running 1.7.2. How would I update to forge 1.7.10?
  4. What is wrong, why cant i launch it? [16:03:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:03:27] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:03:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:03:27] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [16:03:27] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre1.8.0_25 [16:03:27] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:03:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:03:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:03:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:03:27] [main/ERROR] [LaunchWrapper]: Unable to launch java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_25] at java.util.ArrayList$Itr.remove(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  5. Oh thanks, I did not know that. Thanks for the info
  6. I don't get why I cannot import networkmod? http://gyazo.com/db3847f2a677d2dec1a09ef5408f29b2 package murky; import cpw.mods.fml.common.Mod; @NetworkMod(clientSideRequired = true, serverSideRequired = false) @Mod(modid = "MoreMobs", name = "More Mobs Mod", version = "1.0 Alpha") public class moremobs { public moremobs(){ } }
  7. I have no idea I did look up some tutorials on how to build the gradlew before this. I did exactly what they said Heres what the jars name come outs as http://gyazo.com/3e9a13b1e51e00baec8962255a9af86d Here is the build file http://gyazo.com/1b98fe9a4ee9af3b8718f3cd26fe35b8
  8. What is wrong with my ore generator, i found nothing wrong with it. It just wont generate package murky; import java.util.Random; import scala.tools.nsc.MainClass; 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 oregen implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId){ case 1: generateInOverworld(world, random, chunkX*16, chunkZ*16); break; } if (world.provider.dimensionId == 0){ } } private void generateInOverworld(World world, Random random, int x, int z) { for (int i = 0; i < 35; i++){ int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(256); int chunkZ = z + random.nextInt(16); (new WorldGenMinable(BaseClass.blockCopperore, 4)).generate(world, random, chunkX, chunkY, chunkZ); } } }
  9. Sorry, I'm just trying to learn as I follow a tutorial. I did not know what I did wrong as I followed the tutorial. and this is the best place to see whats wrong with it. As I said, I'm sorry. I will come back when I learned more java.
  10. What is wrong with this line now. I'm so confused with this line. copperPickaxe = new ItemCopperPickaxe(copperToolMaterial) http://gyazo.com/f7e2c09c43a7f8712486d71ac2e2a561
  11. Here is updated code public static CreativeTabs tabMoreores = new CreativeTabs("tabMoreores");{
  12. What is wrong with this code? public static CreativeTabs tabMoreores = new CreativeTabs();{ Here is the error http://gyazo.com/80058181d0e912c27cd7c01d8fbaaf2c
  13. Here is the error when I hover over it. http://gyazo.com/c4eae2ba9584deab3b64037f14f342e8
  14. Still learning basic java, I'm here to learn from my mistakes! What is wrong with this line, its saying its a error itemWand = new ItemWand().setUnlocalizedName("ItemWand"); Thank you guys, if you find the problem!
  15. What is wrong with this, I'm getting errors about the FML. I'm fairly new to Java and hoping to learn more ---------------------------------------------------------------------------------------------------------------- package murky; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw @Mod(modid = "mm", name = "More Ores Mod", version = "1.0") public class BaseClass { @EventHandler public void preInit(FMLPreInitialization event) { } @EventHandler public void init(FMLInitializationEvent) } -------------------------------------------------------------------------------
×
×
  • Create New...

Important Information

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