Class WeatherCheck.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.WeatherCheck.Builder
- All Implemented Interfaces:
LootItemCondition.Builder
- Enclosing class:
WeatherCheck
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setRaining(boolean raining) setThundering(boolean thundering) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LootItemCondition.Builder
and, invert, or
-
Field Details
-
isRaining
-
isThundering
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRaining
-
setThundering
-
build
- Specified by:
buildin interfaceLootItemCondition.Builder
-