Jump to content

trulis

Forge Modder
  • Posts

    33
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    Mo'Tools and Food Creator

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

trulis's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. How should i go about modifying the recipes so it uses my item and not emeralds ?
  2. Is there any way i can change it so the villagers no longer trade for emeralds but for my custom item ?
  3. it doesn't work with an item, just with blocks
  4. I am trying to make a shapeless recipe so you can dye a wool back to white wool but it is not working. GameRegistry.addShapelessRecipe(new ItemStack(Blocks.wool, 1, 0), new Object[] {new ItemStack(Items.dye, 1, 0), new ItemStack(Blocks.wool, 1, 1)});
  5. How could i make a custom block that would use the textures of a vanilla block and also if a texture pack is used, the custom block to use the texture for the vanilla block from the texture pack ?
  6. Now the only error i am getting is this one The method setIconIndex(int) is undefined for the type Item
  7. After i've updated my forge i am getting this errors in Eclipse and i don't understand why.
  8. How would i make it so a tool could be a shovel, axe, and pickaxe in one ?
  9. How i can change this so this ore is dropping an item with a metadata ? public int idDropped(int i, Random random, int j) { return TWPlus.metaShard.shiftedIndex; }
  10. Use GameRegistry.registerBlock(block, "unique block name") instead This is an example from my mod. GameRegistry.registerBlock(cobaltBlock, "blockCobalt");
  11. What is best to use ModLoader.registerBlock or GameRegistry.registerBlock ?
  12. I am using forge 3.1.26.387 and my ores are not generating. Here is the code public void generateSurface(World world, Random rand, int chunkX, int chunkZ) { for(int i=0; i < 7; i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(46); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(cobaltOre.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ); } for(int i=0; i < 7; i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(36); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(mithrilOre.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ); } for(int i=0; i < 7; i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(26); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(adamantiteOre.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ); } }
×
×
  • Create New...

Important Information

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