Class FishItem

All Implemented Interfaces:
Itemable

public class FishItem extends FoodItem
Mappings:
Namespace Name
official ass
intermediary net/minecraft/class_1732
named net/minecraft/item/FishItem
  • Field Details

    • cooked

      private final boolean cooked
      Mappings:
      Namespace Name Mixin selector
      official a Lass;a:Z
      intermediary field_6957 Lnet/minecraft/class_1732;field_6957:Z
      named cooked Lnet/minecraft/item/FishItem;cooked:Z
    • field_17179

      private final FishItem.FishType field_17179
      Mappings:
      Namespace Name Mixin selector
      official b Lass;b:Lass$a;
      intermediary field_17179 Lnet/minecraft/class_1732;field_17179:Lnet/minecraft/class_1732$class_1733;
      named field_17179 Lnet/minecraft/item/FishItem;field_17179:Lnet/minecraft/item/FishItem$FishType;
  • Constructor Details

  • Method Details

    • getHungerPoints

      public int getHungerPoints(ItemStack stack)
      Overrides:
      getHungerPoints in class FoodItem
      Mappings:
      Namespace Name Mixin selector
      official e Lasv;e(Late;)I
      intermediary method_6360 Lnet/minecraft/class_1065;method_6360(Lnet/minecraft/class_1071;)I
      named getHungerPoints Lnet/minecraft/item/FoodItem;getHungerPoints(Lnet/minecraft/item/ItemStack;)I
    • getSaturation

      public float getSaturation(ItemStack stack)
      Overrides:
      getSaturation in class FoodItem
      Mappings:
      Namespace Name Mixin selector
      official f Lasv;f(Late;)F
      intermediary method_6361 Lnet/minecraft/class_1065;method_6361(Lnet/minecraft/class_1071;)F
      named getSaturation Lnet/minecraft/item/FoodItem;getSaturation(Lnet/minecraft/item/ItemStack;)F
    • eat

      protected void eat(ItemStack stack, World world, PlayerEntity player)
      Overrides:
      eat in class FoodItem
      Mappings:
      Namespace Name Mixin selector
      official a Lasv;a(Late;Laxy;Laog;)V
      intermediary method_3336 Lnet/minecraft/class_1065;method_3336(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)V
      named eat Lnet/minecraft/item/FoodItem;eat(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)V