Class WeatherCheck
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.WeatherCheck
- All Implemented Interfaces:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
test
(LootContext p_82066_) static WeatherCheck.Builder
weather()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
isRaining
-
isThundering
-
-
Constructor Details
-
WeatherCheck
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootItemCondition
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
weather
-