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

public record BonusLevelTableCondition

implements LootItemCondition

fcf
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

Field summary

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

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()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
public boolean
a(ezh arg0)
test(LootContext arg0)
method_799(class_47 arg0)
m_osespqtn(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
public static LootItemCondition$Builder
a(je<dfq> arg0, float... arg1)
bonusLevelFlatChance(Holder<Enchantment> arg0, float... arg1)
method_800(class_6880<class_1887> arg0, float... arg1)
m_tmbdegkn(C_cjzoxshv<C_jxtrubuh> arg0, float... arg1)
builder(RegistryEntry<Enchantment> enchantment, float... chances)
conditionBuilder(Holder<Enchantment> enchantment, float... chances)
public Holder<Enchantment>
c()
enchantment()
comp_1867()
m_wohucqga()
enchantment()
enchantment()
public List<Float>
d()
values()
comp_1868()
m_vsetvctw()
chances()
values()