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

public record TimeCheck

implements LootItemCondition

euc
net.minecraft.world.level.storage.loot.predicates.TimeCheck
net.minecraft.class_4571
net.minecraft.unmapped.C_kjttmclh
net.minecraft.loot.condition.TimeCheckLootCondition
net.minecraft.loot.condition.TimeCheckLootCondition
net.minecraft.src.C_3021_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionTimeCheck

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public boolean
a(eqk arg0)
test(LootContext arg0)
method_22587(class_47 arg0)
m_uuipifxi(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static TimeCheck$Builder
a(eqj arg0)
time(IntRange arg0)
method_35559(class_42 arg0)
m_zbmfbhfu(C_rcavspxn arg0)
create(BoundedIntUnaryOperator value)
create(BoundedIntUnaryOperator value)
m_165509_(C_141456_ p_165510_)
public Optional<Long>
c()
period()
comp_1885()
m_izevfikw()
period()
period()
f_82023_()
public IntRange
d()
value()
comp_1886()
m_eaubzihp()
value()
value()
f_82024_()