Package net.minecraft.item
Class HoeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HoeItem
- Mappings:
Namespace Name official alointermediary net/minecraft/class_1068named net/minecraft/item/HoeItem
-
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
-
field_4208
- Mappings:
Namespace Name Mixin selector official aLalo;a:Lami;intermediary field_4208Lnet/minecraft/class_1068;field_4208:Lnet/minecraft/class_1070;named field_4208Lnet/minecraft/item/HoeItem;field_4208:Lnet/minecraft/item/ToolMaterial;
-
-
Constructor Details
-
HoeItem
-
-
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 aLalq;a(Lamj;Lahd;Laqu;Ldt;Lej;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 aLalo;a(Lamj;Lahd;Laqu;Ldt;Lbec;)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 v_Lalq;v_()Zintermediary method_3372Lnet/minecraft/class_1069;method_3372()Znamed isHandheldLnet/minecraft/item/Item;isHandheld()Z
-
getAsString
- Mappings:
Namespace Name Mixin selector official gLalo;g()Ljava/lang/String;intermediary method_3341Lnet/minecraft/class_1068;method_3341()Ljava/lang/String;named getAsStringLnet/minecraft/item/HoeItem;getAsString()Ljava/lang/String;
-