CLASS net/minecraft/class_4174 net/minecraft/component/type/FoodComponent COMMENT Represents the components that make up the properties of a food item. 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 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 nutrition I FIELD field_18621 saturationModifier F FIELD field_18623 canAlwaysEat Z FIELD field_18625 effects 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 nutrition (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 nutrition 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