public class WeatherCheck extends java.lang.Object implements ILootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
WeatherCheck.Serializer |
ILootCondition.AbstractSerializer<T extends ILootCondition>, ILootCondition.IBuilder| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
raining |
private java.lang.Boolean |
thundering |
| Modifier | Constructor and Description |
|---|---|
private |
WeatherCheck(java.lang.Boolean raining,
java.lang.Boolean thundering) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(LootContext p_test_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_225580_a_, getRequiredParameters@Nullable private final java.lang.Boolean raining
@Nullable private final java.lang.Boolean thundering
private WeatherCheck(@Nullable
java.lang.Boolean raining,
@Nullable
java.lang.Boolean thundering)
public boolean test(LootContext p_test_1_)
test in interface java.util.function.Predicate<LootContext>