Class FishingRodItem

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

public class FishingRodItem extends Item
Mappings:
Namespace Name
official abg
intermediary net/minecraft/class_1063
named net/minecraft/item/FishingRodItem
  • Field Details

    • field_6174

      @Environment(CLIENT) private Texture field_6174
      Mappings:
      Namespace Name Mixin selector
      official a Labg;a:Lpr;
      intermediary field_6174 Lnet/minecraft/class_1063;field_6174:Lnet/minecraft/class_1557;
      named field_6174 Lnet/minecraft/item/FishingRodItem;field_6174:Lnet/minecraft/client/Texture;
  • Constructor Details

    • FishingRodItem

      public FishingRodItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Labm;<init>()V
      intermediary <init> Lnet/minecraft/class_1069;<init>()V
      named <init> Lnet/minecraft/item/Item;<init>()V
  • Method Details

    • 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 f Labm;f()Z
      intermediary method_3372 Lnet/minecraft/class_1069;method_3372()Z
      named isHandheld Lnet/minecraft/item/Item;isHandheld()Z
    • shouldRotate

      @Environment(CLIENT) public boolean shouldRotate()
      Overrides:
      shouldRotate in class Item
      Mappings:
      Namespace Name Mixin selector
      official g Labm;g()Z
      intermediary method_3390 Lnet/minecraft/class_1069;method_3390()Z
      named shouldRotate Lnet/minecraft/item/Item;shouldRotate()Z
    • onStartUse

      public ItemStack onStartUse(ItemStack stack, World world, PlayerEntity player)
      Overrides:
      onStartUse in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a(Labo;Lafm;Lxk;)Labo;
      intermediary method_3358 Lnet/minecraft/class_1069;method_3358(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named onStartUse Lnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • method_5462

      @Environment(CLIENT) public void method_5462(TextureRegistry textureRegistry)
      Overrides:
      method_5462 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a(Lps;)V
      intermediary method_5462 Lnet/minecraft/class_1069;method_5462(Lnet/minecraft/class_1558;)V
      named method_5462 Lnet/minecraft/item/Item;method_5462(Lnet/minecraft/client/TextureRegistry;)V
    • method_5461

      @Environment(CLIENT) public Texture method_5461()
      Mappings:
      Namespace Name Mixin selector
      official i Labg;i()Lpr;
      intermediary method_5461 Lnet/minecraft/class_1063;method_5461()Lnet/minecraft/class_1557;
      named method_5461 Lnet/minecraft/item/FishingRodItem;method_5461()Lnet/minecraft/client/Texture;
    • isEnchantable

      public boolean isEnchantable(ItemStack stack)
      Returns whether the current item can have enchantments. It does this by verifying that the item's maximum stack size is 1 and the item can break.
      Overrides:
      isEnchantable in class Item
      Mappings:
      Namespace Name Mixin selector
      official e_ Labm;e_(Labo;)Z
      intermediary method_3385 Lnet/minecraft/class_1069;method_3385(Lnet/minecraft/class_1071;)Z
      named isEnchantable Lnet/minecraft/item/Item;isEnchantable(Lnet/minecraft/item/ItemStack;)Z
    • getEnchantability

      public int getEnchantability()
      Returns the enchantability of an Item. Used by tools and armor
      Overrides:
      getEnchantability in class Item
      Returns:
      Enchantability
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Labm;c()I
      intermediary method_3362 Lnet/minecraft/class_1069;method_3362()I
      named getEnchantability Lnet/minecraft/item/Item;getEnchantability()I