public static class MobEffectsPredicate.InstancePredicate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
ambient |
private MinMaxBounds.IntBound |
amplifier |
private MinMaxBounds.IntBound |
duration |
private java.lang.Boolean |
visible |
Constructor and Description |
---|
InstancePredicate() |
InstancePredicate(MinMaxBounds.IntBound p_i49709_1_,
MinMaxBounds.IntBound p_i49709_2_,
java.lang.Boolean p_i49709_3_,
java.lang.Boolean p_i49709_4_) |
Modifier and Type | Method and Description |
---|---|
static MobEffectsPredicate.InstancePredicate |
deserialize(com.google.gson.JsonObject object) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(EffectInstance effect) |
private final MinMaxBounds.IntBound amplifier
private final MinMaxBounds.IntBound duration
@Nullable private final java.lang.Boolean ambient
@Nullable private final java.lang.Boolean visible
public InstancePredicate(MinMaxBounds.IntBound p_i49709_1_, MinMaxBounds.IntBound p_i49709_2_, @Nullable java.lang.Boolean p_i49709_3_, @Nullable java.lang.Boolean p_i49709_4_)
public InstancePredicate()
public boolean test(@Nullable EffectInstance effect)
public com.google.gson.JsonElement serialize()
public static MobEffectsPredicate.InstancePredicate deserialize(com.google.gson.JsonObject object)