net.minecraft.world.level.storage.loot.predicates

public record TimeCheck

implements LootItemCondition

fag
net.minecraft.world.level.storage.loot.predicates.TimeCheck
net.minecraft.class_4571
net.minecraft.loot.condition.TimeCheckLootCondition
net.minecraft.world.level.storage.loot.predicates.LootItemConditionTimeCheck

Field summary

Modifier and TypeField
private final Optional<Long>
b
period
comp_1885
period
private final IntRange
c
value
comp_1886
value
public static final com.mojang.serialization.MapCodec<TimeCheck>
a
CODEC
field_45876
CODEC

Constructor summary

ModifierConstructor
public (Optional<Long> arg0, IntRange value)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_22587(class_47 arg0)
test(LootContext arg0)
public static TimeCheck$Builder
a(ewo arg0)
time(IntRange arg0)
method_35559(class_42 arg0)
create(BoundedIntUnaryOperator value)
public Optional<Long>
c()
period()
comp_1885()
period()
public IntRange
d()
value()
comp_1886()
value()