Uses of Record Class
net.minecraft.world.food.FoodProperties.PossibleEffect
Packages that use FoodProperties.PossibleEffect
-
Uses of FoodProperties.PossibleEffect in net.minecraft.world.food
Fields in net.minecraft.world.food with type parameters of type FoodProperties.PossibleEffectModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FoodProperties.PossibleEffect> FoodProperties.PossibleEffect.CODEC
private final com.google.common.collect.ImmutableList.Builder
<FoodProperties.PossibleEffect> FoodProperties.Builder.effects
private final List
<FoodProperties.PossibleEffect> FoodProperties.effects
The field for theeffects
record component.static final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties.PossibleEffect> FoodProperties.PossibleEffect.STREAM_CODEC
Methods in net.minecraft.world.food that return types with arguments of type FoodProperties.PossibleEffectModifier and TypeMethodDescriptionFoodProperties.effects()
Returns the value of theeffects
record component.Constructor parameters in net.minecraft.world.food with type arguments of type FoodProperties.PossibleEffectModifierConstructorDescriptionFoodProperties
(int nutrition, float saturation, boolean canAlwaysEat, float eatSeconds, List<FoodProperties.PossibleEffect> effects) Creates an instance of aFoodProperties
record class.