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 bmh
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 Lbmh;a:Lbmg;
      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 Lbmh;b:Lbmg;
      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 Lbmh;c:Lbmg;
      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 Lbmh;d:Lbmg;
      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 Lbmh;e:Lbmg;
      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 Lbmh;f:Lbmg;
      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 Lbmh;g:Lbmg;
      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 Lbmh;h:Lbmg;
      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 Lbmh;i:Lbmg;
      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 Lbmh;j:Lbmg;
      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 Lbmh;k:Lbmg;
      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 Lbmh;l:Lbmg;
      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 Lbmh;m:Lbmg;
      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 Lbmh;n:Lbmg;
      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 Lbmh;o:Lbmg;
      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 Lbmh;p:Lbmg;
      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 Lbmh;q:Lbmg;
      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 Lbmh;s:Lbmg;
      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 Lbmh;t:Lbmg;
      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 Lbmh;u:Lbmg;
      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 Lbmh;v:Lbmg;
      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 Lbmh;w:Lbmg;
      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 Lbmh;x:Lbmg;
      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 Lbmh;y:Lbmg;
      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 Lbmh;z:Lbmg;
      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 Lbmh;A:Lbmg;
      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 Lbmh;B:Lbmg;
      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 Lbmh;C:Lbmg;
      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 Lbmh;D:Lbmg;
      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 Lbmh;E:Lbmg;
      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 Lbmh;F:Lbmg;
      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 Lbmh;G:Lbmg;
      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 Lbmh;H:Lbmg;
      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 Lbmh;I:Lbmg;
      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 Lbmh;J:Lbmg;
      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 Lbmh;K:Lbmg;
      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 Lbmh;L:Lbmg;
      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;
    • GLOW_BERRIES

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

      public static final FoodComponent TROPICAL_FISH
      Mappings:
      Namespace Name Mixin selector
      official N Lbmh;N:Lbmg;
      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.Builder create(int hunger)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmh;a(I)Lbmg$a;
      intermediary method_19243 Lnet/minecraft/class_4176;method_19243(I)Lnet/minecraft/class_4174$class_4175;
      named create Lnet/minecraft/item/FoodComponents;create(I)Lnet/minecraft/item/FoodComponent$Builder;