CLASS net/minecraft/class_4174 net/minecraft/item/FoodComponent COMMENT Represents the components that make up the properties of a food item. FIELD comp_2491 hunger I FIELD comp_2492 saturationModifier F FIELD comp_2493 alwaysEdible Z FIELD comp_2495 statusEffects Ljava/util/List; FIELD field_49992 CODEC Lcom/mojang/serialization/Codec; FIELD field_49993 PACKET_CODEC Lnet/minecraft/class_9139; FIELD field_49994 DEFAULT_EAT_SECONDS F METHOD (IFZFLjava/util/List;)V ARG 1 hunger ARG 2 saturationModifier ARG 3 meat METHOD comp_2491 hunger ()I COMMENT Gets the amount of hunger a food item will fill. COMMENT COMMENT

One hunger is equivalent to half of a hunger bar icon. METHOD comp_2492 saturationModifier ()F COMMENT Gets the saturation modifier of a food item. COMMENT COMMENT

This value is typically used to determine how long a player can sustain the current hunger value before the hunger is used. METHOD comp_2493 alwaysEdible ()Z COMMENT Checks if a food item can be eaten when the current hunger bar is full. METHOD comp_2495 statusEffects ()Ljava/util/List; COMMENT Gets a list of all status effect instances that may be applied when a food item is consumed. COMMENT COMMENT

The first value in the pair is the status effect instance to be applied. COMMENT

The second value is the chance the status effect gets applied, on a scale between {@code 0.0F} and {@code 1.0F}. METHOD method_58399 getEatTicks ()I METHOD method_58400 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance CLASS class_4175 Builder FIELD field_18620 hunger I FIELD field_18621 saturationModifier F FIELD field_18623 alwaysEdible Z FIELD field_18625 statusEffects Lcom/google/common/collect/ImmutableList$Builder; FIELD field_49995 eatSeconds F METHOD method_19237 saturationModifier (F)Lnet/minecraft/class_4174$class_4175; COMMENT Specifies the saturation modifier of a food item. COMMENT COMMENT

This value is typically used to determine how long a player can sustain the current hunger value before the hunger is used. ARG 1 saturationModifier COMMENT the saturation modifier METHOD method_19238 hunger (I)Lnet/minecraft/class_4174$class_4175; COMMENT Specifies the amount of hunger a food item will fill. COMMENT COMMENT

One hunger is equivalent to half of a hunger bar icon. ARG 1 hunger COMMENT the amount of hunger METHOD method_19239 statusEffect (Lnet/minecraft/class_1293;F)Lnet/minecraft/class_4174$class_4175; COMMENT Specifies a status effect to apply to an entity when a food item is consumed. COMMENT This method may be called multiple times to apply several status effects when food is consumed. ARG 1 effect COMMENT the effect instance to apply ARG 2 chance COMMENT the chance the status effect is applied, on a scale of {@code 0.0F} to {@code 1.0F} METHOD method_19240 alwaysEdible ()Lnet/minecraft/class_4174$class_4175; COMMENT Specifies that a food item can be eaten when the current hunger bar is full. METHOD method_19241 snack ()Lnet/minecraft/class_4174$class_4175; COMMENT Specifies that a food item is snack-like and is eaten quickly. METHOD method_19242 build ()Lnet/minecraft/class_4174; CLASS class_9423 StatusEffectEntry FIELD field_49996 CODEC Lcom/mojang/serialization/Codec; FIELD field_49997 PACKET_CODEC Lnet/minecraft/class_9139; METHOD method_58401 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance