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