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