Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

theOriginalByte

Forge Modder
  • Joined

  • Last visited

Everything posted by theOriginalByte

  1. there is an error in you world generation code... it should be (...).generate(world, rand, randPosX, randPosY, randPosZ)
  2. i don't have the same problem... my game just takes forever to load, and then the render takes forever... here is a screen shot...
  3. just copy your for loop in the generateNether and change the random.nextInt() values and change the block it spawns in (new ... ) and you should be good to go....
  4. It should basicly look like this: public class ItemBucketOil extends ItemBucket{ public ItemBucketOil(){ super(); //Sets The Texture Of The Item setTextureName(MoreMetalsMod.modid + ":bucketOil"); setMaxStackSize(1); } } super() is the constructor which tells minecraft that it should make this item/block/entity/whatever and tell the game it exists (my uneducated explanation i figured out on my own)
  5. there is no super(paramsHereIfNeeded); above the setTextureName() without it the mod won't work
  6. I fixed it... the third paramater in (new OreGenMinable(par1, par2, par3) etc. I didn't have a par3 and i added it as the same as block in par1 and it doen't take forever to generate
  7. I looks like you didn't import the tutorial class... add this line to the top (under package ... ) of the world gen class import com.sear.tutorial.Tutorial;
  8. Hi, I'm new to modding and am not sure how to fix the world taking 10 minutes to generate. Here is the code I have. Full repo here https://github.com/KaminoCoding/JAMOA/tree/master/src/main/java/com/endergriefer/jamoa/world package com.endergriefer.jamoa.world; import com.endergriefer.jamoa.blocks.ModBlocks; import cpw.mods.fml.common.IWorldGenerator; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import java.util.Random; /** * Created by noah on 5/14/14. */ public class WorldGenjamoa implements IWorldGenerator { public void generate(Random rand, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId) { case -1: generateNether(world, rand, chunkX * 16, chunkZ * 16); case 0: generateSurface(world, rand, chunkX*16, chunkZ*16); } } private void generateSurface(World world, Random rand, int chunkX, int chunkZ) { for(int i = 0; i < 10; i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(40); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(ModBlocks.superbiumOre, 5)).generate(world, rand, randPosX, randPosY, randPosZ); } for (int j = 0; j < 25; j++) { int randPosX = chunkX + rand.nextInt(12); int randPosY = rand.nextInt(80); int randPosZ = chunkZ + rand.nextInt(12); (new WorldGenMinable(ModBlocks.aradactiteOre, ).generate(world, rand, randPosX, randPosY, randPosZ); } } private void generateNether(World world, Random rand, int i, int j) { } }
  9. it said that was it, but it wouldn't load the mod so i can test and see if i did it correctly... i'm gonna go get one of the latest builds and try if it works
  10. Yup I did it exactly like that... let me try doing it again..
  11. I have my folder structure [shadow=red,left]exactly[/shadow] like that but it still throws an error... I am using IntelliJ IDEA for mac. Would that cause a problem? This is what I have
  12. So putting the project in the src/main/java file tree is not what i should do?
  13. Hi guys! I'm new to modding(like right about now) and when I launch minecraft with the IDE I keep getting this error that causes my mod to be ignored. [spoiler=error] [15:58:45] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [15:58:48] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load [15:58:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge Can someone tell me whats wrong?
  14. After reading the log twice i see what is wrong... thank you for the help
  15. So I have been having problems with my minecraft. I updated to 1.5 and everytime I try to install minecraft forge it causes a fatal error. It works fine with 1.4.7 so I don't know what is wrong. Can someone help? Here is the error log:

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.