public class WeatherCheckLootCondition extends Object implements LootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
WeatherCheckLootCondition.Serializer |
LootCondition.Builder| Modifier and Type | Field and Description |
|---|---|
private Boolean |
raining |
private Boolean |
thundering |
| Modifier | Constructor and Description |
|---|---|
private |
WeatherCheckLootCondition(Boolean raining,
Boolean thundering) |
| Modifier and Type | Method and Description |
|---|---|
LootConditionType |
getType() |
boolean |
test(LootContext lootContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParameters, validatepublic LootConditionType getType()
getType in interface LootConditionpublic boolean test(LootContext lootContext)
test in interface Predicate<LootContext>