public class ItemSpade extends ItemTool
Item.ToolMaterial| Modifier and Type | Field and Description |
|---|---|
private static java.util.Set<Block> |
EFFECTIVE_ON |
efficiencyOnProperMaterial, toolMaterialbFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemSpade(Item.ToolMaterial material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHarvestBlock(Block blockIn)
Check whether this Item can harvest the given Block
|
getIsRepairable, getItemAttributeModifiers, getItemEnchantability, getStrVsBlock, getToolMaterial, getToolMaterialName, hitEntity, isFull3D, onBlockDestroyedaddInformation, 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, updateItemStackNBTprivate static final java.util.Set<Block> EFFECTIVE_ON
public ItemSpade(Item.ToolMaterial material)
public boolean canHarvestBlock(Block blockIn)
canHarvestBlock in class Item