Jump to content

xXxKanemanxXx

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by xXxKanemanxXx

  1. i've looked at the code but i don't understand it thats my problem
  2. I want it like Mdyo did in Tinkers Construct. Selfmade Images in a Book this some text, crafting recipes etc
  3. Bump sry i don't understand how to perform this... Sry
  4. Thx Man hope i can improve it so that it will use a real custom GUI not only created text with pre created images
  5. This is not what i meant I meant how can i create a custom book like mdyo did in Tinkers Construct with custom GUI, custom Text etc
  6. Really ? Do u mean the NBT thingy ?
  7. Thx for the Example when joining a world the first time. But whats about the Custom Book with a custom GUI ? Don't know how to make this
  8. Hey guys, my question is how can i create a Book with a custom GUI and which will be spawned when starting a new World ? Havn't found anything useful for this
  9. Hey Guys, my question is how can i make it that when i craft an Item that i won't lose one of the required Materials like i need 8 Stone and 1 Obsidian to craft something and while crafting the only thing that lasts is the Obsidian
  10. Ahhh now i understand what u want to tell me thanks for ur help
  11. @Casual did u looked at the Code ? I have registered them already my only problem is the Smelting i used the same structure as in 1.6.2
  12. I've looked at modding tutorials by ScratchForFun and Shaqaruden and both did not work! And this Section is called Modder Support or not ? So why don't u help ? Why do u behave like this ?
  13. The only method that is not working is the GameRegistry.addsmelting and i don't know why. I asked for help!
  14. I've read them several times but can't find my mistake! I can't put my Ore in the Furnace to smelt it down
  15. Hello Guys, I got a big problem with my mod. I want to smelt down my own created Ore but it won't work don't know why MainClass: package crystalrevolution; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemStack; import net.minecraftforge.common.util.EnumHelper; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.registry.GameRegistry; import crystalrevolution.blocks.OreCrystal; import crystalrevolution.items.Crystal; import crystalrevolution.proxies.ServerProxy; @Mod(modid = crystalrevolution.MODID, version = crystalrevolution.VERSION) public class crystalrevolution { @SidedProxy(clientSide = "crystalrevolution.proxies.ClientProxy", serverSide = "crystalrevolution.proxies.ServerProxy") public static ServerProxy proxy; public static final String MODID = "crevolution"; public static final String VERSION = "1.0.0a"; // --Blocks public static Block OreCrystal = new OreCrystal(Material.rock); // --Items public static Item Crystal = new Crystal(); public crystalrevolution() { // smelting GameRegistry.addSmelting(OreCrystal, new ItemStack(Crystal), 5.0F); // Blocks GameRegistry.registerBlock(OreCrystal, "OreCrystal"); // Items GameRegistry.registerItem(Crystal, "Crystal"); } } OreCrystal Class: package crystalrevolution.blocks; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import crystalrevolution.crystalrevolution; public class OreCrystal extends Block{ private String texture = "CrystalRevolution:crystal_ore"; public OreCrystal(Material mat) { super(mat); this.setBlockName("OreCrystal"); this.setHardness(5); this.setResistance(; this.setCreativeTab(crystalrevolution.tabCrystal); this.setBlockTextureName(texture); this.setHarvestLevel("pickaxe", 2); } public Item getItemDropped(int par1, Random rand, int par3){ return crystalrevolution.Crystal; } public int quantityDropped(Random rand){ return 1 + rand.nextInt(4); } }
×
×
  • Create New...

Important Information

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