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