Package net.minecraft.item.tool
Class Sword
java.lang.Object
net.minecraft.item.ItemBase
net.minecraft.item.tool.Sword
- Mappings:
Namespace Name intermediary net/minecraft/class_352glue class_377server jwclient qdnamed net/minecraft/item/tool/Sword
-
Field Summary
FieldsFields 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 TypeMethodDescriptionintgetAttack(EntityBase entityBase) floatgetStrengthOnBlock(ItemInstance item, BlockBase tile) booleanisEffectiveOn(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, isMap, onCreation, setContainerItem, setDurability, setHasSubItems, setMaxStackSize, setRendered3d, setTexturePosition, setTexturePosition, setTranslationKey, shouldSpinWhenRendering, use, useOnTile, usesMeta
-
Field Details
-
field_1314
private int field_1314- Mappings:
Namespace Name Mixin selector intermediary field_1314Lnet/minecraft/class_352;field_1314:Iglue field_1497Lclass_377;field_1497:Iserver aLjw;a:Iclient aLqd;a:Inamed field_1314Lnet/minecraft/item/tool/Sword;field_1314:I
-
-
Constructor Details
-
Sword
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_352;<init>(ILnet/minecraft/class_428;)Vglue <init>Lclass_377;<init>(ILclass_47;)Vserver <init>Ljw;<init>(ILbb;)Vclient <init>Lqd;<init>(ILbu;)Vnamed <init>Lnet/minecraft/item/tool/Sword;<init>(ILnet/minecraft/item/tool/ToolMaterial;)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
-
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
-