Jump to content

Kore

Forge Modder
  • Posts

    239
  • Joined

  • Last visited

Everything posted by Kore

  1. Ask some mod devs that remove recipes like GregsTech for example
  2. Try to edit the class and just reply to this post all the problems you had and I will help you
  3. for his idea you could add a onBlockUpdate() and then check if the metadata == 3 and then put a random update for the top part
  4. Yes, this is fine if it loads your entity correctly
  5. remove the .setMaxStackSize()
  6. in your item class put public void String getTextureFile() { return ""; }
  7. try adding an @Override above the canHarvestBlock() and I am not sure about the glass pane but the hard id is 102
  8. onBlockUpdate() and then check for a cube or whatever it is that you want as the structure and then put world.setBlockId and so on
  9. Marcel, I want you to know that there is only a small amount of information available from people and your best source of information is to try what you think is fun and ask questions on the Minecraft Forge forums. German if you have a hard time: Marcel, ich will, dass Sie wissen, dass es nur eine kleine Menge der verfügbaren Informationen von Menschen und Ihre beste Quelle von Informationen ist zu versuchen, was Sie denken, ist Spaß und Fragen stellen auf dem Minecraft Forge Foren.
  10. It is pretty simple, forge doesnt change your map when you make a new one, it just spawns you somewhere else so just delete your world file and it will be fixed
  11. replace GameRegistry.addShapelessRecipe(new ItemStack(Tar, 6), new ItemStack(Item.sawI), new ItemStack(Block.wood, 1)); with GameRegistry.addShapelessRecipe(new ItemStack(Tar, 6), new ItemStack(Item.sawI, 1, -1), new ItemStack(Block.wood, 1)); You need to set the allowed damage levels in the crafting, by just saying Itemstack(sawI) you are saying one of a full iron saw
  12. all you need is name and max uses for yours, the others are for tools name = String harvestLevel = Integer(0 to 3, 1 as wood, 3 as diamond) maxUses = Integer(number of times able to be used) efficiency = Float(Speed of breaking) damage = Int(half hearts, when attacking mobs) enchantability = Int(1-30, highest level that will be given with a lvl 30 enchant eg. as a 1 with a 30 enchant you can only get a lvl 1)
  13. extend/super whatever classes you want, as long as you do not edit the actual classes
  14. In your main class(If you want a custom durability public static final EnumToolMaterial yourCustomMaterial = EnumHelper.addToolMaterial(name, harvestLevel, maxUses, efficiency, damage, enchantability); In your Item Class it has to extend ItemTool and set the params in your main to =new ItemSaw(id, Mod.yourCustomMaterial)
  15. well yes, you do need to make the item an ItemTool with an enumToolMaterial so it can actually get damaged, I completely forgot about that
  16. Add this and have this method called when you want the items removed
  17. you may be having trouble that you imported the wrong block or items, so remove all of your imports and do ctrl+shift+o to readd them and select the minecraft.block not the forge one
  18. could you please show me how to create the new te? that would help alot! Edit: Fixed it I just need to return a new TileEntityExpBank()
  19. Well technically no but yes it does and it sets the most recent mod to control it and that is what you wwould do
  20. Here it is: Inside Mod Base Class Inside Crafting Manager Class What this is doing is checking your entire inv for any item and if a slot has item and it is yours then it damages item by one unless it only has 1 use less and then it will destroy it.. unless you want a repair then you can put Also realize that this is not actually damaging the item, it is merely destroying one and then making another with 1 more damage Your simple fix should be to reload all of the imports by ctrl+shift+o
  21. If you want to overwrite a crafting you just need to set the output to ItemStack(0,0)
  22. Alright, so I cannot add or remove info to my block. Here is my code: Block TileEntity
  23. In the packages in vanilla you also just need to do ctrl shift o and it should not break anything
  24. you can do onItemRightClick() and then place the block, and also put idDropped() in the block class and put yourItem.blockID Hope this helps
  25. I may be able to help, but I will need you to post all of your code in the classes used
×
×
  • Create New...

Important Information

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