public static class MobEffectsPredicate.InstancePredicate
extends java.lang.Object
Constructor and Description |
---|
InstancePredicate(MinMaxBounds amplifier,
MinMaxBounds duration,
java.lang.Boolean ambient,
java.lang.Boolean visible) |
Modifier and Type | Method and Description |
---|---|
static MobEffectsPredicate.InstancePredicate |
deserialize(com.google.gson.JsonObject object) |
boolean |
test(PotionEffect effect) |
public InstancePredicate(MinMaxBounds amplifier, MinMaxBounds duration, @Nullable java.lang.Boolean ambient, @Nullable java.lang.Boolean visible)
public boolean test(@Nullable PotionEffect effect)
public static MobEffectsPredicate.InstancePredicate deserialize(com.google.gson.JsonObject object)