Package net.minecraft.item
Class HoeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HoeItem
- Mappings:
Namespace Name official adnintermediary net/minecraft/class_1068named net/minecraft/item/HoeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsFields 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 TypeMethodDescriptionbooleanReturns whether the item is supposed to look as handheld.protected voidmethod_11372(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, BlockState blockState) method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) method_6326(EquipmentSlot equipmentSlot) booleanonEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2) Methods inherited from class net.minecraft.item.Item
addProperty, appendItemStacks, appendTooltip, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, isUnbreakable, method_11373, method_3346, method_3353, method_3356, method_3359, method_3367, onCraft, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
field_12298
private final float field_12298- Mappings:
Namespace Name Mixin selector official bLadn;b:Fintermediary field_12298Lnet/minecraft/class_1068;field_12298:Fnamed field_12298Lnet/minecraft/item/HoeItem;field_12298:F
-
material
- Mappings:
Namespace Name Mixin selector official aLadn;a:Lado$a;intermediary field_4208Lnet/minecraft/class_1068;field_4208:Lnet/minecraft/class_1069$class_1070;named materialLnet/minecraft/item/HoeItem;material:Lnet/minecraft/item/Item$ToolMaterialType;
-
-
Constructor Details
-
HoeItem
- Mappings:
Namespace Name Mixin selector official <init>Ladn;<init>(Lado$a;)Vintermediary <init>Lnet/minecraft/class_1068;<init>(Lnet/minecraft/class_1069$class_1070;)Vnamed <init>Lnet/minecraft/item/HoeItem;<init>(Lnet/minecraft/item/Item$ToolMaterialType;)V
-
-
Method Details
-
method_3355
public ActionResult method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_3355in classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Lzj;Laht;Lcl;Lqm;Lcs;FFF)Lqo;intermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named method_3355Lnet/minecraft/item/Item;method_3355(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
-
onEntityHit
- Overrides:
onEntityHitin classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Lsa;Lsa;)Zintermediary method_3354Lnet/minecraft/class_1069;method_3354(Lnet/minecraft/class_1071;Lnet/minecraft/class_1699;Lnet/minecraft/class_1699;)Znamed onEntityHitLnet/minecraft/item/Item;onEntityHit(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
method_11372
protected void method_11372(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, BlockState blockState) - Mappings:
Namespace Name Mixin selector official aLadn;a(Ladq;Lzj;Laht;Lcl;Lard;)Vintermediary method_11372Lnet/minecraft/class_1068;method_11372(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_11372Lnet/minecraft/item/HoeItem;method_11372(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isHandheld
Returns whether the item is supposed to look as handheld.- Overrides:
isHandheldin classItem- Mappings:
Namespace Name Mixin selector official A_Lado;A_()Zintermediary method_3372Lnet/minecraft/class_1069;method_3372()Znamed isHandheldLnet/minecraft/item/Item;isHandheld()Z
-
getAsString
- Mappings:
Namespace Name Mixin selector official gLadn;g()Ljava/lang/String;intermediary method_3341Lnet/minecraft/class_1068;method_3341()Ljava/lang/String;named getAsStringLnet/minecraft/item/HoeItem;getAsString()Ljava/lang/String;
-
method_6326
- Overrides:
method_6326in classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Lrw;)Lcom/google/common/collect/Multimap;intermediary method_6326Lnet/minecraft/class_1069;method_6326(Lnet/minecraft/class_2968;)Lcom/google/common/collect/Multimap;named method_6326Lnet/minecraft/item/Item;method_6326(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;
-