Uses of Record Class
net.minecraft.item.FoodComponent.class_9423
Packages that use FoodComponent.class_9423
-
Uses of FoodComponent.class_9423 in net.minecraft.item
Fields in net.minecraft.item with type parameters of type FoodComponent.class_9423Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FoodComponent.class_9423> FoodComponent.class_9423.field_49996static final PacketCodec<RegistryByteBuf, FoodComponent.class_9423> FoodComponent.class_9423.field_49997private final ImmutableList.Builder<FoodComponent.class_9423> FoodComponent.Builder.statusEffectsprivate final List<FoodComponent.class_9423> FoodComponent.statusEffectsThe field for thestatusEffectsrecord component.Methods in net.minecraft.item that return types with arguments of type FoodComponent.class_9423Modifier and TypeMethodDescriptionFoodComponent.statusEffects()Gets a list of all status effect instances that may be applied when a food item is consumed.Constructor parameters in net.minecraft.item with type arguments of type FoodComponent.class_9423ModifierConstructorDescriptionFoodComponent(int hunger, float saturationModifier, boolean meat, float float2, List<FoodComponent.class_9423> list)