Class FoodProperties.PossibleEffect.PossibleEffectBuilder
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.FoodProperties.PossibleEffect.PossibleEffectBuilder
- Enclosing class:
FoodProperties.PossibleEffect
-
Method Summary
Modifier and TypeMethodDescription@NonNull FoodProperties.PossibleEffectbuild()effect(MobEffectInstance effect) probability(float probability) @NonNull StringtoString()
-
Method Details
-
effect
public @NonNull FoodProperties.PossibleEffect.PossibleEffectBuilder effect(MobEffectInstance effect) - Returns:
this.
-
probability
- Returns:
this.
-
build
-
toString
-