Package net.minecraft.item.tool
Class Shears
java.lang.Object
net.minecraft.item.ItemBase
net.minecraft.item.tool.Shears
- Mappings:
Namespace Name intermediary net/minecraft/class_126glue class_33server asclient blnamed net/minecraft/item/tool/Shears
-
Field Summary
Fields inherited from class net.minecraft.item.ItemBase
apple, arrow, bed, boat, bone, book, bow, bowl, bread, brick, bucket, byId, cake, chainBoots, chainChestplate, chainHelmet, chainLeggings, clay, clock, coal, compass, cookedFish, cookedPorkchop, cookie, diamond, diamondAxe, diamondBoots, diamondChestplate, diamondHelmet, diamondHoe, diamondLeggings, diamondPickaxe, diamondShovel, diamondSword, dyePowder, egg, feather, fishingRod, flint, flintAndSteel, glowstoneDust, goldAxe, goldBoots, goldChestplate, goldenApple, goldHelmet, goldHoe, goldIngot, goldLeggings, goldPickaxe, goldShovel, goldSword, gunpowder, hasSubItems, id, ironAxe, ironBoots, ironChestplate, ironDoor, ironHelmet, ironHoe, ironIngot, ironLeggings, ironPickaxe, ironShovel, ironSword, isRendered3d, lavaBucket, leather, leatherBoots, leatherChestplate, leatherHelmet, leatherLeggings, map, maxStackSize, milk, minecart, minecartChest, minecartFurnace, mushroomStew, painting, paper, rand, rawFish, rawPorkchop, record13, recordCat, redstoneDust, redstoneRepeater, saddle, seeds, shears, sign, slimeball, snowball, stick, stoneAxe, stoneHoe, stonePickaxe, stoneShovel, stoneSword, string, sugar, sugarCanes, texturePosition, waterBucket, wheat, woodAxe, woodDoor, woodHoe, woodPickaxe, woodShovel, woodSword -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetStrengthOnBlock(ItemInstance item, BlockBase tile) booleanisEffectiveOn(BlockBase tile) booleanpostMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) Methods inherited from class net.minecraft.item.ItemBase
getAttack, getColourMultiplier, getContainerItemType, getDurability, getMaxStackSize, getMetaData, getTexturePosition, getTexturePosition, getTranslatedName, getTranslationKey, getTranslationKey, hasContainerItemType, hasDurability, interactWithEntity, inventoryTick, isMap, isRendered3d, onCreation, postHit, setContainerItem, setDurability, setHasSubItems, setMaxStackSize, setRendered3d, setTexturePosition, setTexturePosition, setTranslationKey, shouldSpinWhenRendering, use, useOnTile, usesMeta
-
Constructor Details
-
Shears
public Shears(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_124;<init>(I)Vglue <init>Lclass_166;<init>(I)Vserver <init>Lej;<init>(I)Vclient <init>Lgm;<init>(I)Vnamed <init>Lnet/minecraft/item/ItemBase;<init>(I)V
-
-
Method Details
-
postMine
public boolean postMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) - Overrides:
postMinein classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_437Lnet/minecraft/class_124;method_437(Lnet/minecraft/class_31;IIIILnet/minecraft/class_127;)Zglue method_102Lclass_166;method_102(Lclass_224;IIIILclass_283;)Zserver aLej;a(Lfy;IIIILhl;)Zclient aLgm;a(Liz;IIIILls;)Znamed postMineLnet/minecraft/item/ItemBase;postMine(Lnet/minecraft/item/ItemInstance;IIIILnet/minecraft/entity/Living;)Z
-
isEffectiveOn
- Overrides:
isEffectiveOnin classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_450Lnet/minecraft/class_124;method_450(Lnet/minecraft/class_17;)Zglue method_36Lclass_166;method_36(Lclass_507;)Zserver aLej;a(Lna;)Zclient aLgm;a(Luu;)Znamed isEffectiveOnLnet/minecraft/item/ItemBase;isEffectiveOn(Lnet/minecraft/block/BlockBase;)Z
-
getStrengthOnBlock
- Overrides:
getStrengthOnBlockin classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_438Lnet/minecraft/class_124;method_438(Lnet/minecraft/class_31;Lnet/minecraft/class_17;)Fglue method_103Lclass_166;method_103(Lclass_224;Lclass_507;)Fserver aLej;a(Lfy;Lna;)Fclient aLgm;a(Liz;Luu;)Fnamed getStrengthOnBlockLnet/minecraft/item/ItemBase;getStrengthOnBlock(Lnet/minecraft/item/ItemInstance;Lnet/minecraft/block/BlockBase;)F
-