Package net.minecraft.item
Class HoeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HoeItem
- Mappings:
Namespace Name official zvintermediary 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, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the item is supposed to look as handheld.protected booleanuse(ItemStack stack, PlayerEntity player, World world, BlockPos pos, BlockState state) booleanMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
material
- Mappings:
Namespace Name Mixin selector official aLzv;a:Lzw$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>Lzv;<init>(Lzw$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
-
use
public boolean use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) - Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Zintermediary 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_1354;FFF)Znamed useLnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Z
-
use
protected boolean use(ItemStack stack, PlayerEntity player, World world, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official aLzv;a(Lzx;Lwn;Ladm;Lcj;Lalz;)Zintermediary method_11283Lnet/minecraft/class_1068;method_11283(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Znamed useLnet/minecraft/item/HoeItem;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
isHandheld
Returns whether the item is supposed to look as handheld.- Overrides:
isHandheldin classItem- Mappings:
Namespace Name Mixin selector official w_Lzw;w_()Zintermediary method_3372Lnet/minecraft/class_1069;method_3372()Znamed isHandheldLnet/minecraft/item/Item;isHandheld()Z
-
getAsString
- Mappings:
Namespace Name Mixin selector official gLzv;g()Ljava/lang/String;intermediary method_3341Lnet/minecraft/class_1068;method_3341()Ljava/lang/String;named getAsStringLnet/minecraft/item/HoeItem;getAsString()Ljava/lang/String;
-