public class ShearsItem extends Item
Item.SettingsATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM| Constructor and Description |
|---|
ShearsItem(Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
float |
getMiningSpeedMultiplier(ItemStack stack,
BlockState state) |
boolean |
isEffectiveOn(BlockState state) |
boolean |
postMine(ItemStack stack,
World world,
BlockState state,
BlockPos pos,
LivingEntity miner) |
appendStacks, appendTooltip, asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntitypublic ShearsItem(Item.Settings settings)
public boolean postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
public boolean isEffectiveOn(BlockState state)
isEffectiveOn in class Itempublic float getMiningSpeedMultiplier(ItemStack stack, BlockState state)
getMiningSpeedMultiplier in class Item