Class FishingRodItem

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

public class FishingRodItem extends Item
Mappings:
Namespace Name
intermediary net/minecraft/class_607
glue class_70
server bv
client cs
named net/minecraft/item/FishingRodItem
  • Constructor Details

    • FishingRodItem

      public FishingRodItem(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_124;<init>(I)V
      glue <init> Lclass_166;<init>(I)V
      server <init> Lej;<init>(I)V
      client <init> Lgm;<init>(I)V
      named <init> Lnet/minecraft/item/Item;<init>(I)V
  • Method Details

    • isHandheld

      @Environment(CLIENT) public boolean isHandheld()
      Overrides:
      isHandheld in class Item
      Mappings:
      Namespace Name Mixin selector
      intermediary method_448 Lnet/minecraft/class_124;method_448()Z
      glue method_306 Lclass_166;method_306()Z
      server method_448 Lej;method_448()Z
      client b Lgm;b()Z
      named isHandheld Lnet/minecraft/item/Item;isHandheld()Z
    • isHandheldRod

      @Environment(CLIENT) public boolean isHandheldRod()
      Determines if an item should be rotated like a fishing rod when held in hand
      Overrides:
      isHandheldRod in class Item
      Mappings:
      Namespace Name Mixin selector
      intermediary method_449 Lnet/minecraft/class_124;method_449()Z
      glue method_307 Lclass_166;method_307()Z
      server method_449 Lej;method_449()Z
      client c Lgm;c()Z
      named isHandheldRod Lnet/minecraft/item/Item;isHandheldRod()Z
    • use

      public ItemStack use(ItemStack stack, World world, PlayerEntity user)
      Overrides:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      intermediary method_451 Lnet/minecraft/class_124;method_451(Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_54;)Lnet/minecraft/class_31;
      glue method_68 Lclass_166;method_68(Lclass_224;Lclass_129;Lclass_172;)Lclass_224;
      server a Lej;a(Lfy;Ldj;Lem;)Lfy;
      client a Lgm;a(Liz;Lfd;Lgs;)Liz;
      named use Lnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;