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.CODECprivate final com.google.common.collect.ImmutableList.Builder<FoodProperties.PossibleEffect> FoodProperties.Builder.effectsprivate final List<FoodProperties.PossibleEffect> FoodProperties.effectsThe field for theeffectsrecord component.static final StreamCodec<RegistryFriendlyByteBuf, FoodProperties.PossibleEffect> FoodProperties.PossibleEffect.STREAM_CODECMethods in net.minecraft.world.food that return types with arguments of type FoodProperties.PossibleEffectModifier and TypeMethodDescriptionFoodProperties.effects()Returns the value of theeffectsrecord component.Constructor parameters in net.minecraft.world.food with type arguments of type FoodProperties.PossibleEffectModifierConstructorDescriptionFoodProperties(int nutrition, float saturation, boolean canAlwaysEat, float eatSeconds, Optional<ItemStack> usingConvertsTo, List<FoodProperties.PossibleEffect> effects) Creates an instance of aFoodPropertiesrecord class.