public class ItemShears extends Item
Item.ToolMaterialbFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemShears() |
| 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) |
boolean |
onBlockDestroyed(ItemStack stack,
World worldIn,
Block blockIn,
BlockPos pos,
EntityLivingBase playerIn)
Called when a Block is destroyed using this Item.
|
addInformation, canItemEditBlocks, getByNameOrId, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onCreated, onItemRightClick, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setUnlocalizedName, shouldRotateAroundWhenRendering, updateItemStackNBTpublic boolean onBlockDestroyed(ItemStack stack, World worldIn, Block blockIn, BlockPos pos, EntityLivingBase playerIn)
onBlockDestroyed in class Itempublic boolean canHarvestBlock(Block blockIn)
canHarvestBlock in class Itempublic float getStrVsBlock(ItemStack stack, Block block)
getStrVsBlock in class Item