Class FoodComponents

java.lang.Object
net.minecraft.component.type.FoodComponents

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

    • APPLE

      public static final FoodComponent APPLE
      Mappings:
      Namespace Name Mixin selector
      named APPLE Lnet/minecraft/component/type/FoodComponents;APPLE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18638 Lnet/minecraft/class_4176;field_18638:Lnet/minecraft/class_4174;
      official a Lcps;a:Lcpr;
    • BAKED_POTATO

      public static final FoodComponent BAKED_POTATO
      Mappings:
      Namespace Name Mixin selector
      named BAKED_POTATO Lnet/minecraft/component/type/FoodComponents;BAKED_POTATO:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18639 Lnet/minecraft/class_4176;field_18639:Lnet/minecraft/class_4174;
      official b Lcps;b:Lcpr;
    • BEEF

      public static final FoodComponent BEEF
      Mappings:
      Namespace Name Mixin selector
      named BEEF Lnet/minecraft/component/type/FoodComponents;BEEF:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18640 Lnet/minecraft/class_4176;field_18640:Lnet/minecraft/class_4174;
      official c Lcps;c:Lcpr;
    • BEETROOT

      public static final FoodComponent BEETROOT
      Mappings:
      Namespace Name Mixin selector
      named BEETROOT Lnet/minecraft/component/type/FoodComponents;BEETROOT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18641 Lnet/minecraft/class_4176;field_18641:Lnet/minecraft/class_4174;
      official d Lcps;d:Lcpr;
    • BEETROOT_SOUP

      public static final FoodComponent BEETROOT_SOUP
      Mappings:
      Namespace Name Mixin selector
      named BEETROOT_SOUP Lnet/minecraft/component/type/FoodComponents;BEETROOT_SOUP:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18642 Lnet/minecraft/class_4176;field_18642:Lnet/minecraft/class_4174;
      official e Lcps;e:Lcpr;
    • BREAD

      public static final FoodComponent BREAD
      Mappings:
      Namespace Name Mixin selector
      named BREAD Lnet/minecraft/component/type/FoodComponents;BREAD:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18643 Lnet/minecraft/class_4176;field_18643:Lnet/minecraft/class_4174;
      official f Lcps;f:Lcpr;
    • CARROT

      public static final FoodComponent CARROT
      Mappings:
      Namespace Name Mixin selector
      named CARROT Lnet/minecraft/component/type/FoodComponents;CARROT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18644 Lnet/minecraft/class_4176;field_18644:Lnet/minecraft/class_4174;
      official g Lcps;g:Lcpr;
    • CHICKEN

      public static final FoodComponent CHICKEN
      Mappings:
      Namespace Name Mixin selector
      named CHICKEN Lnet/minecraft/component/type/FoodComponents;CHICKEN:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18645 Lnet/minecraft/class_4176;field_18645:Lnet/minecraft/class_4174;
      official h Lcps;h:Lcpr;
    • CHORUS_FRUIT

      public static final FoodComponent CHORUS_FRUIT
      Mappings:
      Namespace Name Mixin selector
      named CHORUS_FRUIT Lnet/minecraft/component/type/FoodComponents;CHORUS_FRUIT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18646 Lnet/minecraft/class_4176;field_18646:Lnet/minecraft/class_4174;
      official i Lcps;i:Lcpr;
    • COD

      public static final FoodComponent COD
      Mappings:
      Namespace Name Mixin selector
      named COD Lnet/minecraft/component/type/FoodComponents;COD:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18647 Lnet/minecraft/class_4176;field_18647:Lnet/minecraft/class_4174;
      official j Lcps;j:Lcpr;
    • COOKED_BEEF

      public static final FoodComponent COOKED_BEEF
      Mappings:
      Namespace Name Mixin selector
      named COOKED_BEEF Lnet/minecraft/component/type/FoodComponents;COOKED_BEEF:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18648 Lnet/minecraft/class_4176;field_18648:Lnet/minecraft/class_4174;
      official k Lcps;k:Lcpr;
    • COOKED_CHICKEN

      public static final FoodComponent COOKED_CHICKEN
      Mappings:
      Namespace Name Mixin selector
      named COOKED_CHICKEN Lnet/minecraft/component/type/FoodComponents;COOKED_CHICKEN:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18649 Lnet/minecraft/class_4176;field_18649:Lnet/minecraft/class_4174;
      official l Lcps;l:Lcpr;
    • COOKED_COD

      public static final FoodComponent COOKED_COD
      Mappings:
      Namespace Name Mixin selector
      named COOKED_COD Lnet/minecraft/component/type/FoodComponents;COOKED_COD:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18650 Lnet/minecraft/class_4176;field_18650:Lnet/minecraft/class_4174;
      official m Lcps;m:Lcpr;
    • COOKED_MUTTON

      public static final FoodComponent COOKED_MUTTON
      Mappings:
      Namespace Name Mixin selector
      named COOKED_MUTTON Lnet/minecraft/component/type/FoodComponents;COOKED_MUTTON:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18651 Lnet/minecraft/class_4176;field_18651:Lnet/minecraft/class_4174;
      official n Lcps;n:Lcpr;
    • COOKED_PORKCHOP

      public static final FoodComponent COOKED_PORKCHOP
      Mappings:
      Namespace Name Mixin selector
      named COOKED_PORKCHOP Lnet/minecraft/component/type/FoodComponents;COOKED_PORKCHOP:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18652 Lnet/minecraft/class_4176;field_18652:Lnet/minecraft/class_4174;
      official o Lcps;o:Lcpr;
    • COOKED_RABBIT

      public static final FoodComponent COOKED_RABBIT
      Mappings:
      Namespace Name Mixin selector
      named COOKED_RABBIT Lnet/minecraft/component/type/FoodComponents;COOKED_RABBIT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18653 Lnet/minecraft/class_4176;field_18653:Lnet/minecraft/class_4174;
      official p Lcps;p:Lcpr;
    • COOKED_SALMON

      public static final FoodComponent COOKED_SALMON
      Mappings:
      Namespace Name Mixin selector
      named COOKED_SALMON Lnet/minecraft/component/type/FoodComponents;COOKED_SALMON:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18654 Lnet/minecraft/class_4176;field_18654:Lnet/minecraft/class_4174;
      official q Lcps;q:Lcpr;
    • DRIED_KELP

      public static final FoodComponent DRIED_KELP
      Mappings:
      Namespace Name Mixin selector
      named DRIED_KELP Lnet/minecraft/component/type/FoodComponents;DRIED_KELP:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18656 Lnet/minecraft/class_4176;field_18656:Lnet/minecraft/class_4174;
      official s Lcps;s:Lcpr;
    • ENCHANTED_GOLDEN_APPLE

      public static final FoodComponent ENCHANTED_GOLDEN_APPLE
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_GOLDEN_APPLE Lnet/minecraft/component/type/FoodComponents;ENCHANTED_GOLDEN_APPLE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18657 Lnet/minecraft/class_4176;field_18657:Lnet/minecraft/class_4174;
      official t Lcps;t:Lcpr;
    • GOLDEN_APPLE

      public static final FoodComponent GOLDEN_APPLE
      Mappings:
      Namespace Name Mixin selector
      named GOLDEN_APPLE Lnet/minecraft/component/type/FoodComponents;GOLDEN_APPLE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18658 Lnet/minecraft/class_4176;field_18658:Lnet/minecraft/class_4174;
      official u Lcps;u:Lcpr;
    • GOLDEN_CARROT

      public static final FoodComponent GOLDEN_CARROT
      Mappings:
      Namespace Name Mixin selector
      named GOLDEN_CARROT Lnet/minecraft/component/type/FoodComponents;GOLDEN_CARROT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18659 Lnet/minecraft/class_4176;field_18659:Lnet/minecraft/class_4174;
      official v Lcps;v:Lcpr;
    • HONEY_BOTTLE

      public static final FoodComponent HONEY_BOTTLE
      Mappings:
      Namespace Name Mixin selector
      named HONEY_BOTTLE Lnet/minecraft/component/type/FoodComponents;HONEY_BOTTLE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_20381 Lnet/minecraft/class_4176;field_20381:Lnet/minecraft/class_4174;
      official w Lcps;w:Lcpr;
    • MELON_SLICE

      public static final FoodComponent MELON_SLICE
      Mappings:
      Namespace Name Mixin selector
      named MELON_SLICE Lnet/minecraft/component/type/FoodComponents;MELON_SLICE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18660 Lnet/minecraft/class_4176;field_18660:Lnet/minecraft/class_4174;
      official x Lcps;x:Lcpr;
    • MUSHROOM_STEW

      public static final FoodComponent MUSHROOM_STEW
      Mappings:
      Namespace Name Mixin selector
      named MUSHROOM_STEW Lnet/minecraft/component/type/FoodComponents;MUSHROOM_STEW:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18661 Lnet/minecraft/class_4176;field_18661:Lnet/minecraft/class_4174;
      official y Lcps;y:Lcpr;
    • MUTTON

      public static final FoodComponent MUTTON
      Mappings:
      Namespace Name Mixin selector
      named MUTTON Lnet/minecraft/component/type/FoodComponents;MUTTON:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18662 Lnet/minecraft/class_4176;field_18662:Lnet/minecraft/class_4174;
      official z Lcps;z:Lcpr;
    • POISONOUS_POTATO

      public static final FoodComponent POISONOUS_POTATO
      Mappings:
      Namespace Name Mixin selector
      named POISONOUS_POTATO Lnet/minecraft/component/type/FoodComponents;POISONOUS_POTATO:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18663 Lnet/minecraft/class_4176;field_18663:Lnet/minecraft/class_4174;
      official A Lcps;A:Lcpr;
    • PORKCHOP

      public static final FoodComponent PORKCHOP
      Mappings:
      Namespace Name Mixin selector
      named PORKCHOP Lnet/minecraft/component/type/FoodComponents;PORKCHOP:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18626 Lnet/minecraft/class_4176;field_18626:Lnet/minecraft/class_4174;
      official B Lcps;B:Lcpr;
    • POTATO

      public static final FoodComponent POTATO
      Mappings:
      Namespace Name Mixin selector
      named POTATO Lnet/minecraft/component/type/FoodComponents;POTATO:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18627 Lnet/minecraft/class_4176;field_18627:Lnet/minecraft/class_4174;
      official C Lcps;C:Lcpr;
    • PUFFERFISH

      public static final FoodComponent PUFFERFISH
      Mappings:
      Namespace Name Mixin selector
      named PUFFERFISH Lnet/minecraft/component/type/FoodComponents;PUFFERFISH:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18628 Lnet/minecraft/class_4176;field_18628:Lnet/minecraft/class_4174;
      official D Lcps;D:Lcpr;
    • PUMPKIN_PIE

      public static final FoodComponent PUMPKIN_PIE
      Mappings:
      Namespace Name Mixin selector
      named PUMPKIN_PIE Lnet/minecraft/component/type/FoodComponents;PUMPKIN_PIE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18629 Lnet/minecraft/class_4176;field_18629:Lnet/minecraft/class_4174;
      official E Lcps;E:Lcpr;
    • RABBIT

      public static final FoodComponent RABBIT
      Mappings:
      Namespace Name Mixin selector
      named RABBIT Lnet/minecraft/component/type/FoodComponents;RABBIT:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18630 Lnet/minecraft/class_4176;field_18630:Lnet/minecraft/class_4174;
      official F Lcps;F:Lcpr;
    • RABBIT_STEW

      public static final FoodComponent RABBIT_STEW
      Mappings:
      Namespace Name Mixin selector
      named RABBIT_STEW Lnet/minecraft/component/type/FoodComponents;RABBIT_STEW:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18631 Lnet/minecraft/class_4176;field_18631:Lnet/minecraft/class_4174;
      official G Lcps;G:Lcpr;
    • ROTTEN_FLESH

      public static final FoodComponent ROTTEN_FLESH
      Mappings:
      Namespace Name Mixin selector
      named ROTTEN_FLESH Lnet/minecraft/component/type/FoodComponents;ROTTEN_FLESH:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18632 Lnet/minecraft/class_4176;field_18632:Lnet/minecraft/class_4174;
      official H Lcps;H:Lcpr;
    • SALMON

      public static final FoodComponent SALMON
      Mappings:
      Namespace Name Mixin selector
      named SALMON Lnet/minecraft/component/type/FoodComponents;SALMON:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18633 Lnet/minecraft/class_4176;field_18633:Lnet/minecraft/class_4174;
      official I Lcps;I:Lcpr;
    • SPIDER_EYE

      public static final FoodComponent SPIDER_EYE
      Mappings:
      Namespace Name Mixin selector
      named SPIDER_EYE Lnet/minecraft/component/type/FoodComponents;SPIDER_EYE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18634 Lnet/minecraft/class_4176;field_18634:Lnet/minecraft/class_4174;
      official J Lcps;J:Lcpr;
    • SUSPICIOUS_STEW

      public static final FoodComponent SUSPICIOUS_STEW
      Mappings:
      Namespace Name Mixin selector
      named SUSPICIOUS_STEW Lnet/minecraft/component/type/FoodComponents;SUSPICIOUS_STEW:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18635 Lnet/minecraft/class_4176;field_18635:Lnet/minecraft/class_4174;
      official K Lcps;K:Lcpr;
    • SWEET_BERRIES

      public static final FoodComponent SWEET_BERRIES
      Mappings:
      Namespace Name Mixin selector
      named SWEET_BERRIES Lnet/minecraft/component/type/FoodComponents;SWEET_BERRIES:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18636 Lnet/minecraft/class_4176;field_18636:Lnet/minecraft/class_4174;
      official L Lcps;L:Lcpr;
    • GLOW_BERRIES

      public static final FoodComponent GLOW_BERRIES
      Mappings:
      Namespace Name Mixin selector
      named GLOW_BERRIES Lnet/minecraft/component/type/FoodComponents;GLOW_BERRIES:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_28647 Lnet/minecraft/class_4176;field_28647:Lnet/minecraft/class_4174;
      official M Lcps;M:Lcpr;
    • TROPICAL_FISH

      public static final FoodComponent TROPICAL_FISH
      Mappings:
      Namespace Name Mixin selector
      named TROPICAL_FISH Lnet/minecraft/component/type/FoodComponents;TROPICAL_FISH:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_18637 Lnet/minecraft/class_4176;field_18637:Lnet/minecraft/class_4174;
      official N Lcps;N:Lcpr;
    • OMINOUS_BOTTLE

      public static final FoodComponent OMINOUS_BOTTLE
      Mappings:
      Namespace Name Mixin selector
      named OMINOUS_BOTTLE Lnet/minecraft/component/type/FoodComponents;OMINOUS_BOTTLE:Lnet/minecraft/component/type/FoodComponent;
      intermediary field_50138 Lnet/minecraft/class_4176;field_50138:Lnet/minecraft/class_4174;
      official O Lcps;O:Lcpr;
  • Constructor Details

    • FoodComponents

      public FoodComponents()
  • Method Details

    • createStew

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