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

public class BonusLevelTableCondition

implements LootItemCondition

dky
net.minecraft.world.level.storage.loot.predicates.BonusLevelTableCondition
net.minecraft.class_182
net.minecraft.loot.condition.TableBonusLootCondition
net.minecraft.src.C_2979_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionTableBonus

Field summary

Modifier and TypeField
final Enchantment
a
enchantment
field_1234
enchantment
f_81507_
final float[]
b
values
field_1235
chances
f_81508_

Constructor summary

ModifierConstructor
(Enchantment enchantment, float[] chances)

Method summary

Modifier and TypeMethod
public LootItemConditionType
a()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(dip arg0)
test(LootContext arg0)
method_799(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(buk arg0, float... arg1)
bonusLevelFlatChance(Enchantment arg0, float... arg1)
method_800(class_1887 arg0, float... arg1)
builder(Enchantment enchantment, float... chances)
m_81517_(C_1505_ p_81518_, float... p_81519_)