
Kore
Forge Modder-
Posts
239 -
Joined
-
Last visited
Everything posted by Kore
-
Ask some mod devs that remove recipes like GregsTech for example
-
Try to edit the class and just reply to this post all the problems you had and I will help you
-
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
-
Yes, this is fine if it loads your entity correctly
-
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
remove the .setMaxStackSize() -
in your item class put public void String getTextureFile() { return ""; }
-
try adding an @Override above the canHarvestBlock() and I am not sure about the glass pane but the hard id is 102
-
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
-
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.
-
[SOLVED] Chunk bugs (Client connected to Server)
Kore replied to newboyhun's topic in Modder Support
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 -
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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 -
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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) -
extend/super whatever classes you want, as long as you do not edit the actual classes
-
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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) -
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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 -
Problems removing items from player's inventory
Kore replied to WildBamaBoy's topic in Modder Support
Add this and have this method called when you want the items removed -
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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 -
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()
-
Well technically no but yes it does and it sets the most recent mod to control it and that is what you wwould do
-
[Help] Making an item take damage in crafting grid
Kore replied to ps_psycho's topic in Modder Support
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 -
If you want to overwrite a crafting you just need to set the output to ItemStack(0,0)
-
Alright, so I cannot add or remove info to my block. Here is my code: Block TileEntity
-
In the packages in vanilla you also just need to do ctrl shift o and it should not break anything
-
you can do onItemRightClick() and then place the block, and also put idDropped() in the block class and put yourItem.blockID Hope this helps
-
I may be able to help, but I will need you to post all of your code in the classes used