public class ItemPickaxe extends ItemTool
Item.ToolMaterial
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<Block> |
EFFECTIVE_ON |
efficiencyOnProperMaterial, toolMaterial
bFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize
Modifier | Constructor and Description |
---|---|
protected |
ItemPickaxe(Item.ToolMaterial material) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHarvestBlock(Block blockIn)
Check whether this Item can harvest the given Block
|
float |
getStrVsBlock(ItemStack stack,
Block block) |
getIsRepairable, getItemAttributeModifiers, getItemEnchantability, getToolMaterial, getToolMaterialName, hitEntity, isFull3D, onBlockDestroyed
addInformation, canItemEditBlocks, getByNameOrId, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIdFromItem, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, isDamageable, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onCreated, onItemRightClick, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setUnlocalizedName, shouldRotateAroundWhenRendering, updateItemStackNBT
private static final java.util.Set<Block> EFFECTIVE_ON
protected ItemPickaxe(Item.ToolMaterial material)
public boolean canHarvestBlock(Block blockIn)
canHarvestBlock
in class Item
public float getStrVsBlock(ItemStack stack, Block block)
getStrVsBlock
in class ItemTool