implements LootCondition
| net.minecraft.world.level.storage.loot.predicates.TimeCheck | |
| net.minecraft.world.level.storage.loot.predicates.TimeCheck | |
| net.minecraft.class_4571 | |
| net.minecraft.loot.condition.TimeCheckLootCondition |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private final RegistryEntry<WorldClockKey> |
| ||||||||
| private final Optional<Long> |
| ||||||||
| private final BoundedIntUnaryOperator |
| ||||||||
| public static final com.mojang.serialization.MapCodec<TimeCheckLootCondition> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryEntry<WorldClockKey> clock, Optional<Long> period, BoundedIntUnaryOperator value) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<TimeCheckLootCondition> |
| ||||||||
| public void |
| ||||||||
| public boolean |
| ||||||||
| public static TimeCheckLootCondition$Builder |
| ||||||||
| public RegistryEntry<WorldClockKey> |
| ||||||||
| public Optional<Long> |
| ||||||||
| public BoundedIntUnaryOperator |
|