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

    • createStew

      private static FoodComponent.Builder createStew(int hunger)
      Mappings:
      Namespace Name Mixin selector
      official a Lchz;a(I)Lchy$a;
      intermediary method_19243 Lnet/minecraft/class_4176;method_19243(I)Lnet/minecraft/class_4174$class_4175;
      named createStew Lnet/minecraft/item/FoodComponents;createStew(I)Lnet/minecraft/item/FoodComponent$Builder;