Class HoeItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HoeItem

public class HoeItem
extends Item
Mappings:
Namespace Name
official zv
intermediary net/minecraft/class_2053
named net/minecraft/item/HoeItem
  • Field Details

    • material

      protected Item.ToolMaterialType material
      Mappings:
      Namespace Name Mixin selector
      official a Lzv;a:Lzw$a;
      intermediary field_8627 Lnet/minecraft/class_2053;field_8627:Lnet/minecraft/class_2054$class_2055;
      named material Lnet/minecraft/item/HoeItem;material:Lnet/minecraft/item/Item$ToolMaterialType;
  • Constructor Details

    • HoeItem

      public HoeItem​(Item.ToolMaterialType material)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzv;<init>(Lzw$a;)V
      intermediary <init> Lnet/minecraft/class_2053;<init>(Lnet/minecraft/class_2054$class_2055;)V
      named <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:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Z
      intermediary method_8264 Lnet/minecraft/class_2054;method_8264(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFF)Z
      named use Lnet/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 a Lzv;a(Lzx;Lwn;Ladm;Lcj;Lalz;)Z
      intermediary method_8244 Lnet/minecraft/class_2053;method_8244(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Z
      named use Lnet/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

      @Environment(CLIENT) public boolean isHandheld()
      Returns whether the item is supposed to look as handheld.
      Overrides:
      isHandheld in class Item
      Mappings:
      Namespace Name Mixin selector
      official w_ Lzw;w_()Z
      intermediary method_8305 Lnet/minecraft/class_2054;method_8305()Z
      named isHandheld Lnet/minecraft/item/Item;isHandheld()Z
    • getAsString

      public String getAsString()
      Mappings:
      Namespace Name Mixin selector
      official g Lzv;g()Ljava/lang/String;
      intermediary method_8245 Lnet/minecraft/class_2053;method_8245()Ljava/lang/String;
      named getAsString Lnet/minecraft/item/HoeItem;getAsString()Ljava/lang/String;