Class FoodComponents

java.lang.Object
net.minecraft.item.FoodComponents

public class FoodComponents
extends Object
Contains all the default food components used in vanilla food items.
Mappings:
Namespace Name
official bjp
intermediary net/minecraft/class_4176
named net/minecraft/item/FoodComponents
  • Field Details

    • APPLE

      public static final FoodComponent APPLE
      Mappings:
      Namespace Name Mixin selector
      official a Lbjp;a:Lbjo;
      intermediary field_18638 Lnet/minecraft/class_4176;field_18638:Lnet/minecraft/class_4174;
      named APPLE Lnet/minecraft/item/FoodComponents;APPLE:Lnet/minecraft/item/FoodComponent;
    • BAKED_POTATO

      public static final FoodComponent BAKED_POTATO
      Mappings:
      Namespace Name Mixin selector
      official b Lbjp;b:Lbjo;
      intermediary field_18639 Lnet/minecraft/class_4176;field_18639:Lnet/minecraft/class_4174;
      named BAKED_POTATO Lnet/minecraft/item/FoodComponents;BAKED_POTATO:Lnet/minecraft/item/FoodComponent;
    • BEEF

      public static final FoodComponent BEEF
      Mappings:
      Namespace Name Mixin selector
      official c Lbjp;c:Lbjo;
      intermediary field_18640 Lnet/minecraft/class_4176;field_18640:Lnet/minecraft/class_4174;
      named BEEF Lnet/minecraft/item/FoodComponents;BEEF:Lnet/minecraft/item/FoodComponent;
    • BEETROOT

      public static final FoodComponent BEETROOT
      Mappings:
      Namespace Name Mixin selector
      official d Lbjp;d:Lbjo;
      intermediary field_18641 Lnet/minecraft/class_4176;field_18641:Lnet/minecraft/class_4174;
      named BEETROOT Lnet/minecraft/item/FoodComponents;BEETROOT:Lnet/minecraft/item/FoodComponent;
    • BEETROOT_SOUP

      public static final FoodComponent BEETROOT_SOUP
      Mappings:
      Namespace Name Mixin selector
      official e Lbjp;e:Lbjo;
      intermediary field_18642 Lnet/minecraft/class_4176;field_18642:Lnet/minecraft/class_4174;
      named BEETROOT_SOUP Lnet/minecraft/item/FoodComponents;BEETROOT_SOUP:Lnet/minecraft/item/FoodComponent;
    • BREAD

      public static final FoodComponent BREAD
      Mappings:
      Namespace Name Mixin selector
      official f Lbjp;f:Lbjo;
      intermediary field_18643 Lnet/minecraft/class_4176;field_18643:Lnet/minecraft/class_4174;
      named BREAD Lnet/minecraft/item/FoodComponents;BREAD:Lnet/minecraft/item/FoodComponent;
    • CARROT

      public static final FoodComponent CARROT
      Mappings:
      Namespace Name Mixin selector
      official g Lbjp;g:Lbjo;
      intermediary field_18644 Lnet/minecraft/class_4176;field_18644:Lnet/minecraft/class_4174;
      named CARROT Lnet/minecraft/item/FoodComponents;CARROT:Lnet/minecraft/item/FoodComponent;
    • CHICKEN

      public static final FoodComponent CHICKEN
      Mappings:
      Namespace Name Mixin selector
      official h Lbjp;h:Lbjo;
      intermediary field_18645 Lnet/minecraft/class_4176;field_18645:Lnet/minecraft/class_4174;
      named CHICKEN Lnet/minecraft/item/FoodComponents;CHICKEN:Lnet/minecraft/item/FoodComponent;
    • CHORUS_FRUIT

      public static final FoodComponent CHORUS_FRUIT
      Mappings:
      Namespace Name Mixin selector
      official i Lbjp;i:Lbjo;
      intermediary field_18646 Lnet/minecraft/class_4176;field_18646:Lnet/minecraft/class_4174;
      named CHORUS_FRUIT Lnet/minecraft/item/FoodComponents;CHORUS_FRUIT:Lnet/minecraft/item/FoodComponent;
    • COD

      public static final FoodComponent COD
      Mappings:
      Namespace Name Mixin selector
      official j Lbjp;j:Lbjo;
      intermediary field_18647 Lnet/minecraft/class_4176;field_18647:Lnet/minecraft/class_4174;
      named COD Lnet/minecraft/item/FoodComponents;COD:Lnet/minecraft/item/FoodComponent;
    • COOKED_BEEF

      public static final FoodComponent COOKED_BEEF
      Mappings:
      Namespace Name Mixin selector
      official k Lbjp;k:Lbjo;
      intermediary field_18648 Lnet/minecraft/class_4176;field_18648:Lnet/minecraft/class_4174;
      named COOKED_BEEF Lnet/minecraft/item/FoodComponents;COOKED_BEEF:Lnet/minecraft/item/FoodComponent;
    • COOKED_CHICKEN

      public static final FoodComponent COOKED_CHICKEN
      Mappings:
      Namespace Name Mixin selector
      official l Lbjp;l:Lbjo;
      intermediary field_18649 Lnet/minecraft/class_4176;field_18649:Lnet/minecraft/class_4174;
      named COOKED_CHICKEN Lnet/minecraft/item/FoodComponents;COOKED_CHICKEN:Lnet/minecraft/item/FoodComponent;
    • COOKED_COD

      public static final FoodComponent COOKED_COD
      Mappings:
      Namespace Name Mixin selector
      official m Lbjp;m:Lbjo;
      intermediary field_18650 Lnet/minecraft/class_4176;field_18650:Lnet/minecraft/class_4174;
      named COOKED_COD Lnet/minecraft/item/FoodComponents;COOKED_COD:Lnet/minecraft/item/FoodComponent;
    • COOKED_MUTTON

      public static final FoodComponent COOKED_MUTTON
      Mappings:
      Namespace Name Mixin selector
      official n Lbjp;n:Lbjo;
      intermediary field_18651 Lnet/minecraft/class_4176;field_18651:Lnet/minecraft/class_4174;
      named COOKED_MUTTON Lnet/minecraft/item/FoodComponents;COOKED_MUTTON:Lnet/minecraft/item/FoodComponent;
    • COOKED_PORKCHOP

      public static final FoodComponent COOKED_PORKCHOP
      Mappings:
      Namespace Name Mixin selector
      official o Lbjp;o:Lbjo;
      intermediary field_18652 Lnet/minecraft/class_4176;field_18652:Lnet/minecraft/class_4174;
      named COOKED_PORKCHOP Lnet/minecraft/item/FoodComponents;COOKED_PORKCHOP:Lnet/minecraft/item/FoodComponent;
    • COOKED_RABBIT

      public static final FoodComponent COOKED_RABBIT
      Mappings:
      Namespace Name Mixin selector
      official p Lbjp;p:Lbjo;
      intermediary field_18653 Lnet/minecraft/class_4176;field_18653:Lnet/minecraft/class_4174;
      named COOKED_RABBIT Lnet/minecraft/item/FoodComponents;COOKED_RABBIT:Lnet/minecraft/item/FoodComponent;
    • COOKED_SALMON

      public static final FoodComponent COOKED_SALMON
      Mappings:
      Namespace Name Mixin selector
      official q Lbjp;q:Lbjo;
      intermediary field_18654 Lnet/minecraft/class_4176;field_18654:Lnet/minecraft/class_4174;
      named COOKED_SALMON Lnet/minecraft/item/FoodComponents;COOKED_SALMON:Lnet/minecraft/item/FoodComponent;
    • DRIED_KELP

      public static final FoodComponent DRIED_KELP
      Mappings:
      Namespace Name Mixin selector
      official s Lbjp;s:Lbjo;
      intermediary field_18656 Lnet/minecraft/class_4176;field_18656:Lnet/minecraft/class_4174;
      named DRIED_KELP Lnet/minecraft/item/FoodComponents;DRIED_KELP:Lnet/minecraft/item/FoodComponent;
    • ENCHANTED_GOLDEN_APPLE

      public static final FoodComponent ENCHANTED_GOLDEN_APPLE
      Mappings:
      Namespace Name Mixin selector
      official t Lbjp;t:Lbjo;
      intermediary field_18657 Lnet/minecraft/class_4176;field_18657:Lnet/minecraft/class_4174;
      named ENCHANTED_GOLDEN_APPLE Lnet/minecraft/item/FoodComponents;ENCHANTED_GOLDEN_APPLE:Lnet/minecraft/item/FoodComponent;
    • GOLDEN_APPLE

      public static final FoodComponent GOLDEN_APPLE
      Mappings:
      Namespace Name Mixin selector
      official u Lbjp;u:Lbjo;
      intermediary field_18658 Lnet/minecraft/class_4176;field_18658:Lnet/minecraft/class_4174;
      named GOLDEN_APPLE Lnet/minecraft/item/FoodComponents;GOLDEN_APPLE:Lnet/minecraft/item/FoodComponent;
    • GOLDEN_CARROT

      public static final FoodComponent GOLDEN_CARROT
      Mappings:
      Namespace Name Mixin selector
      official v Lbjp;v:Lbjo;
      intermediary field_18659 Lnet/minecraft/class_4176;field_18659:Lnet/minecraft/class_4174;
      named GOLDEN_CARROT Lnet/minecraft/item/FoodComponents;GOLDEN_CARROT:Lnet/minecraft/item/FoodComponent;
    • HONEY_BOTTLE

      public static final FoodComponent HONEY_BOTTLE
      Mappings:
      Namespace Name Mixin selector
      official w Lbjp;w:Lbjo;
      intermediary field_20381 Lnet/minecraft/class_4176;field_20381:Lnet/minecraft/class_4174;
      named HONEY_BOTTLE Lnet/minecraft/item/FoodComponents;HONEY_BOTTLE:Lnet/minecraft/item/FoodComponent;
    • MELON_SLICE

      public static final FoodComponent MELON_SLICE
      Mappings:
      Namespace Name Mixin selector
      official x Lbjp;x:Lbjo;
      intermediary field_18660 Lnet/minecraft/class_4176;field_18660:Lnet/minecraft/class_4174;
      named MELON_SLICE Lnet/minecraft/item/FoodComponents;MELON_SLICE:Lnet/minecraft/item/FoodComponent;
    • MUSHROOM_STEW

      public static final FoodComponent MUSHROOM_STEW
      Mappings:
      Namespace Name Mixin selector
      official y Lbjp;y:Lbjo;
      intermediary field_18661 Lnet/minecraft/class_4176;field_18661:Lnet/minecraft/class_4174;
      named MUSHROOM_STEW Lnet/minecraft/item/FoodComponents;MUSHROOM_STEW:Lnet/minecraft/item/FoodComponent;
    • MUTTON

      public static final FoodComponent MUTTON
      Mappings:
      Namespace Name Mixin selector
      official z Lbjp;z:Lbjo;
      intermediary field_18662 Lnet/minecraft/class_4176;field_18662:Lnet/minecraft/class_4174;
      named MUTTON Lnet/minecraft/item/FoodComponents;MUTTON:Lnet/minecraft/item/FoodComponent;
    • POISONOUS_POTATO

      public static final FoodComponent POISONOUS_POTATO
      Mappings:
      Namespace Name Mixin selector
      official A Lbjp;A:Lbjo;
      intermediary field_18663 Lnet/minecraft/class_4176;field_18663:Lnet/minecraft/class_4174;
      named POISONOUS_POTATO Lnet/minecraft/item/FoodComponents;POISONOUS_POTATO:Lnet/minecraft/item/FoodComponent;
    • PORKCHOP

      public static final FoodComponent PORKCHOP
      Mappings:
      Namespace Name Mixin selector
      official B Lbjp;B:Lbjo;
      intermediary field_18626 Lnet/minecraft/class_4176;field_18626:Lnet/minecraft/class_4174;
      named PORKCHOP Lnet/minecraft/item/FoodComponents;PORKCHOP:Lnet/minecraft/item/FoodComponent;
    • POTATO

      public static final FoodComponent POTATO
      Mappings:
      Namespace Name Mixin selector
      official C Lbjp;C:Lbjo;
      intermediary field_18627 Lnet/minecraft/class_4176;field_18627:Lnet/minecraft/class_4174;
      named POTATO Lnet/minecraft/item/FoodComponents;POTATO:Lnet/minecraft/item/FoodComponent;
    • PUFFERFISH

      public static final FoodComponent PUFFERFISH
      Mappings:
      Namespace Name Mixin selector
      official D Lbjp;D:Lbjo;
      intermediary field_18628 Lnet/minecraft/class_4176;field_18628:Lnet/minecraft/class_4174;
      named PUFFERFISH Lnet/minecraft/item/FoodComponents;PUFFERFISH:Lnet/minecraft/item/FoodComponent;
    • PUMPKIN_PIE

      public static final FoodComponent PUMPKIN_PIE
      Mappings:
      Namespace Name Mixin selector
      official E Lbjp;E:Lbjo;
      intermediary field_18629 Lnet/minecraft/class_4176;field_18629:Lnet/minecraft/class_4174;
      named PUMPKIN_PIE Lnet/minecraft/item/FoodComponents;PUMPKIN_PIE:Lnet/minecraft/item/FoodComponent;
    • RABBIT

      public static final FoodComponent RABBIT
      Mappings:
      Namespace Name Mixin selector
      official F Lbjp;F:Lbjo;
      intermediary field_18630 Lnet/minecraft/class_4176;field_18630:Lnet/minecraft/class_4174;
      named RABBIT Lnet/minecraft/item/FoodComponents;RABBIT:Lnet/minecraft/item/FoodComponent;
    • RABBIT_STEW

      public static final FoodComponent RABBIT_STEW
      Mappings:
      Namespace Name Mixin selector
      official G Lbjp;G:Lbjo;
      intermediary field_18631 Lnet/minecraft/class_4176;field_18631:Lnet/minecraft/class_4174;
      named RABBIT_STEW Lnet/minecraft/item/FoodComponents;RABBIT_STEW:Lnet/minecraft/item/FoodComponent;
    • ROTTEN_FLESH

      public static final FoodComponent ROTTEN_FLESH
      Mappings:
      Namespace Name Mixin selector
      official H Lbjp;H:Lbjo;
      intermediary field_18632 Lnet/minecraft/class_4176;field_18632:Lnet/minecraft/class_4174;
      named ROTTEN_FLESH Lnet/minecraft/item/FoodComponents;ROTTEN_FLESH:Lnet/minecraft/item/FoodComponent;
    • SALMON

      public static final FoodComponent SALMON
      Mappings:
      Namespace Name Mixin selector
      official I Lbjp;I:Lbjo;
      intermediary field_18633 Lnet/minecraft/class_4176;field_18633:Lnet/minecraft/class_4174;
      named SALMON Lnet/minecraft/item/FoodComponents;SALMON:Lnet/minecraft/item/FoodComponent;
    • SPIDER_EYE

      public static final FoodComponent SPIDER_EYE
      Mappings:
      Namespace Name Mixin selector
      official J Lbjp;J:Lbjo;
      intermediary field_18634 Lnet/minecraft/class_4176;field_18634:Lnet/minecraft/class_4174;
      named SPIDER_EYE Lnet/minecraft/item/FoodComponents;SPIDER_EYE:Lnet/minecraft/item/FoodComponent;
    • SUSPICIOUS_STEW

      public static final FoodComponent SUSPICIOUS_STEW
      Mappings:
      Namespace Name Mixin selector
      official K Lbjp;K:Lbjo;
      intermediary field_18635 Lnet/minecraft/class_4176;field_18635:Lnet/minecraft/class_4174;
      named SUSPICIOUS_STEW Lnet/minecraft/item/FoodComponents;SUSPICIOUS_STEW:Lnet/minecraft/item/FoodComponent;
    • SWEET_BERRIES

      public static final FoodComponent SWEET_BERRIES
      Mappings:
      Namespace Name Mixin selector
      official L Lbjp;L:Lbjo;
      intermediary field_18636 Lnet/minecraft/class_4176;field_18636:Lnet/minecraft/class_4174;
      named SWEET_BERRIES Lnet/minecraft/item/FoodComponents;SWEET_BERRIES:Lnet/minecraft/item/FoodComponent;
    • field_28647

      public static final FoodComponent field_28647
      Mappings:
      Namespace Name Mixin selector
      official M Lbjp;M:Lbjo;
      intermediary field_28647 Lnet/minecraft/class_4176;field_28647:Lnet/minecraft/class_4174;
      named field_28647 Lnet/minecraft/item/FoodComponents;field_28647:Lnet/minecraft/item/FoodComponent;
    • TROPICAL_FISH

      public static final FoodComponent TROPICAL_FISH
      Mappings:
      Namespace Name Mixin selector
      official N Lbjp;N:Lbjo;
      intermediary field_18637 Lnet/minecraft/class_4176;field_18637:Lnet/minecraft/class_4174;
      named TROPICAL_FISH Lnet/minecraft/item/FoodComponents;TROPICAL_FISH:Lnet/minecraft/item/FoodComponent;
  • Constructor Details

    • FoodComponents

      public FoodComponents()
  • Method Details

    • create

      private static FoodComponent create​(int hunger)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjp;a(I)Lbjo;
      intermediary method_19243 Lnet/minecraft/class_4176;method_19243(I)Lnet/minecraft/class_4174;
      named create Lnet/minecraft/item/FoodComponents;create(I)Lnet/minecraft/item/FoodComponent;