Package net.minecraft.item.tool
Class ToolBase
java.lang.Object
net.minecraft.item.ItemBase
net.minecraft.item.tool.ToolBase
- Mappings:
Namespace Name intermediary net/minecraft/class_632glue class_91server cjclient dqnamed net/minecraft/item/tool/ToolBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BlockBase[]private floatprivate intprotected ToolMaterialFields 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
ConstructorsModifierConstructorDescriptionprotectedToolBase(int id, int int2, ToolMaterial toolMaterial, BlockBase[] effectiveBlocks) -
Method Summary
Modifier and TypeMethodDescriptionintgetAttack(EntityBase entityBase) floatgetStrengthOnBlock(ItemInstance item, BlockBase tile) booleanbooleanpostHit(ItemInstance itemInstance, Living damageSource, Living damageTarget) booleanpostMine(ItemInstance itemInstance, int int2, int int3, int int4, int int5, Living damageTarget) Methods inherited from class net.minecraft.item.ItemBase
getColourMultiplier, getContainerItemType, getDurability, getMaxStackSize, getMetaData, getTexturePosition, getTexturePosition, getTranslatedName, getTranslationKey, getTranslationKey, hasContainerItemType, hasDurability, interactWithEntity, inventoryTick, isEffectiveOn, isMap, onCreation, setContainerItem, setDurability, setHasSubItems, setMaxStackSize, setRendered3d, setTexturePosition, setTexturePosition, setTranslationKey, shouldSpinWhenRendering, use, useOnTile, usesMeta
-
Field Details
-
effectiveBlocksBase
- Mappings:
Namespace Name Mixin selector intermediary field_2712Lnet/minecraft/class_632;field_2712:[Lnet/minecraft/class_17;glue field_189Lclass_91;field_189:[Lclass_507;server bkLcj;bk:[Lna;client bkLdq;bk:[Luu;named effectiveBlocksBaseLnet/minecraft/item/tool/ToolBase;effectiveBlocksBase:[Lnet/minecraft/block/BlockBase;
-
field_2713
private float field_2713- Mappings:
Namespace Name Mixin selector intermediary field_2713Lnet/minecraft/class_632;field_2713:Fglue field_190Lclass_91;field_190:Fserver blLcj;bl:Fclient blLdq;bl:Fnamed field_2713Lnet/minecraft/item/tool/ToolBase;field_2713:F
-
field_2714
private int field_2714- Mappings:
Namespace Name Mixin selector intermediary field_2714Lnet/minecraft/class_632;field_2714:Iglue field_191Lclass_91;field_191:Iserver bmLcj;bm:Iclient bmLdq;bm:Inamed field_2714Lnet/minecraft/item/tool/ToolBase;field_2714:I
-
toolMaterial
- Mappings:
Namespace Name Mixin selector intermediary field_2711Lnet/minecraft/class_632;field_2711:Lnet/minecraft/class_428;glue field_188Lclass_91;field_188:Lclass_47;server aLcj;a:Lbb;client aLdq;a:Lbu;named toolMaterialLnet/minecraft/item/tool/ToolBase;toolMaterial:Lnet/minecraft/item/tool/ToolMaterial;
-
-
Constructor Details
-
ToolBase
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_632;<init>(IILnet/minecraft/class_428;[Lnet/minecraft/class_17;)Vglue <init>Lclass_91;<init>(IILclass_47;[Lclass_507;)Vserver <init>Lcj;<init>(IILbb;[Lna;)Vclient <init>Ldq;<init>(IILbu;[Luu;)Vnamed <init>Lnet/minecraft/item/tool/ToolBase;<init>(IILnet/minecraft/item/tool/ToolMaterial;[Lnet/minecraft/block/BlockBase;)V
-
-
Method Details
-
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
-
postHit
- Overrides:
postHitin classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_446Lnet/minecraft/class_124;method_446(Lnet/minecraft/class_31;Lnet/minecraft/class_127;Lnet/minecraft/class_127;)Zglue method_262Lclass_166;method_262(Lclass_224;Lclass_283;Lclass_283;)Zserver aLej;a(Lfy;Lhl;Lhl;)Zclient aLgm;a(Liz;Lls;Lls;)Znamed postHitLnet/minecraft/item/ItemBase;postHit(Lnet/minecraft/item/ItemInstance;Lnet/minecraft/entity/Living;Lnet/minecraft/entity/Living;)Z
-
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
-
getAttack
- Overrides:
getAttackin classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_447Lnet/minecraft/class_124;method_447(Lnet/minecraft/class_57;)Iglue method_263Lclass_166;method_263(Lclass_450;)Iserver aLej;a(Llq;)Iclient aLgm;a(Lsn;)Inamed getAttackLnet/minecraft/item/ItemBase;getAttack(Lnet/minecraft/entity/EntityBase;)I
-
isRendered3d
- Overrides:
isRendered3din classItemBase- Mappings:
Namespace Name Mixin selector intermediary method_448Lnet/minecraft/class_124;method_448()Zglue method_306Lclass_166;method_306()Zserver method_448Lej;method_448()Zclient bLgm;b()Znamed isRendered3dLnet/minecraft/item/ItemBase;isRendered3d()Z
-