Package net.minecraft.item
Class ShearsItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ShearsItem
- Mappings:
Namespace Name official aelintermediary net/minecraft/class_1089named net/minecraft/item/ShearsItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetBlockBreakingSpeed(ItemStack stack, BlockState state) booleanmethod_3346(BlockState blockState) booleanmethod_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) Methods inherited from class net.minecraft.item.Item
addProperty, appendItemStacks, appendTooltip, byRawId, canRepair, fromBlock, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_11373, method_3353, method_3355, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Constructor Details
-
ShearsItem
public ShearsItem()- Mappings:
Namespace Name Mixin selector official <init>Lado;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
method_3356
public boolean method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity) - Overrides:
method_3356in classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Laht;Lard;Lcl;Lsa;)Zintermediary method_3356Lnet/minecraft/class_1069;method_3356(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1699;)Znamed method_3356Lnet/minecraft/item/Item;method_3356(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/LivingEntity;)Z
-
method_3346
- Overrides:
method_3346in classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Lard;)Zintermediary method_3346Lnet/minecraft/class_1069;method_3346(Lnet/minecraft/class_2232;)Znamed method_3346Lnet/minecraft/item/Item;method_3346(Lnet/minecraft/block/BlockState;)Z
-
getBlockBreakingSpeed
- Overrides:
getBlockBreakingSpeedin classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Lard;)Fintermediary method_3351Lnet/minecraft/class_1069;method_3351(Lnet/minecraft/class_1071;Lnet/minecraft/class_2232;)Fnamed getBlockBreakingSpeedLnet/minecraft/item/Item;getBlockBreakingSpeed(Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)F
-