Posted August 21, 20178 yr I have some problems with "creation of tools" ! One of the problems that I have with my tool is this : Spoiler package wintersky20.ws20t.items; import java.util.Set; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import com.jcraft.jorbis.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockProperties; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.ItemAxe; import net.minecraft.item.ItemPickaxe; import net.minecraft.item.ItemSpade; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemTool; import net.minecraft.world.World; import wintersky20.ws20t.Reference; import wintersky20.ws20t.ws20t; public class ItemDrill extends ItemPickaxe { public ItemDrill(ToolMaterial material) { super(material); setUnlocalizedName(Reference.ws20Items.DRILL.getUnlocalizedName()); setRegistryName(Reference.ws20Items.DRILL.getRegistryName()); setCreativeTab(ws20t.CREATIVE_TAB); this.attackSpeed = 0.9F; } @Override public boolean canHarvestBlock(IBlockState state, ItemStack stack) { return true; } @Override public Set<String> getToolClasses(ItemStack stack) { return ImmutableSet.of("pickaxe", "spade", "axe", "shovel"); } @Override public int getItemEnchantability() { return this.toolMaterial.getEnchantability(); } } -> I can't enchnat the item in the enchanting table only in a anvil ->I can't brake the crafting table with this tool ( I mean , I can , but is taking me a long time to do ths) -> And if i try to switch the extension with a ItemAxe , the i can't break redstone ores and obsidean ! Some help please !! And sorry for my bad English
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.