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

public record BonusLevelTableCondition

implements LootItemCondition

etk
net.minecraft.world.level.storage.loot.predicates.BonusLevelTableCondition
net.minecraft.class_182
net.minecraft.unmapped.C_nttdmald
net.minecraft.loot.condition.TableBonusLootCondition
net.minecraft.loot.condition.TableBonusLootCondition
net.minecraft.src.C_2979_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionTableBonus

Field summary

Modifier and TypeField
private final Holder<Enchantment>
b
enchantment
comp_1867
f_axmfycpo
enchantment
enchantment
f_81507_
private final List<Float>
c
values
comp_1868
f_hnquhvdw
chances
chances
f_81508_
public static final com.mojang.serialization.MapCodec<BonusLevelTableCondition>
a
CODEC
field_45860
f_tllkfraq
CODEC
CODEC
f_291274_

Constructor summary

ModifierConstructor
public (Holder<Enchantment> enchantment, List<Float> chances)

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_799(class_47 arg0)
m_osespqtn(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(dac arg0, float... arg1)
bonusLevelFlatChance(Enchantment arg0, float... arg1)
method_800(class_1887 arg0, float... arg1)
m_tmbdegkn(C_jxtrubuh arg0, float... arg1)
builder(Enchantment enchantment, float... chances)
builder(Enchantment enchantment, float... chances)
m_81517_(C_1505_ p_81518_, float... p_81519_)
public Holder<Enchantment>
c()
enchantment()
comp_1867()
m_wohucqga()
enchantment()
enchantment()
f_81507_()
public List<Float>
d()
values()
comp_1868()
m_vsetvctw()
chances()
values()
f_81508_()