net.minecraft.loot.condition

public record TableBonusLootCondition

implements LootCondition

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootConditionType
a()
getType()
method_29325()
getType()
m_pfwldqai()
getType()
m_7940_()
public Set<ContextParameter<?>>
b()
getReferencedContextParams()
method_293()
getAllowedParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public boolean
a(fnz arg0)
test(LootContext arg0)
method_799(class_47 arg0)
test(LootContext arg0)
m_osespqtn(C_iakykpgh arg0)
test(LootContext context)
test(C_2811_ arg0)
public static LootCondition$Builder
a(jd<dso> o, float... o)
bonusLevelFlatChance(Holder<Enchantment> arg0, float... arg1)
method_800(class_6880<class_1887> arg0, float... arg1)
builder(RegistryEntry<Enchantment> enchantment, float... chances)
m_tmbdegkn(C_cjzoxshv<C_jxtrubuh> arg0, float... arg1)
conditionBuilder(Holder<Enchantment> enchantment, float... chances)
m_81517_(C_203228_<C_1505_> p_342391_, float... p_81519_)
public RegistryEntry<Enchantment>
c()
enchantment()
comp_1867()
enchantment()
m_wohucqga()
enchantment()
f_81507_()
public List<Float>
d()
values()
comp_1868()
chances()
m_vsetvctw()
values()
f_81508_()