Posted August 26, 201510 yr i've tried setting the ore harvest level. but it's still instantly breakable by anything. here's the code for the blocks. package com.kami.blocks; import com.kami.creativetabs.MCreativeTabs; import com.kami.lib.RefStrings; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraftforge.common.MinecraftForge; import scala.collection.immutable.Set; public class MBlocks { public static void mainRegistry() { initializeBlock(); registerItem(); } public static Block WickOre; public static Block Wickblock; public static Block negative; public static void initializeBlock(){ WickOre = new WickOre (Material.ground).setBlockName("WickOre").setCreativeTab(MCreativeTabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Wickore");WickOre.setHarvestLevel("pickaxe", 2); Wickblock = new wickblock (Material.ground).setBlockName("wickblock").setCreativeTab(MCreativeTabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Wickblock");Wickblock.setHarvestLevel("pickaxe", 2); negative = new negative (Material.ground).setBlockName("negative").setCreativeTab(MCreativeTabs.tabBlock); } public static void registerItem(){ GameRegistry.registerBlock(WickOre, WickOre.getUnlocalizedName()); GameRegistry.registerBlock(Wickblock, Wickblock.getUnlocalizedName()); GameRegistry.registerBlock(negative, negative.getUnlocalizedName()); } } i'm not really a "coder". all i did was watch mchewy tutorials. i have a very small understanding of coding.
August 26, 201510 yr Do you know Java at all? Because if not then please go learn Java and then come back, because mods are literally coding. If you're not a coder, than become one, because otherwise you will not be able to create anything "cool" or such. Java is extremely helpful, seeing as mods and Minecraft is coded in Java. PLEASE learn Java. Who are you? Why have you brought me here? And why are there so many PewDiePie fanboys surrounding meeeeeeeee....... *falls into pit and dies*. Also this. Check it out. http://i.imgur.com/J4rrGt6.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.