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

public class BonusLevelTableCondition

implements LootItemCondition

dbc
net.minecraft.world.level.storage.loot.predicates.BonusLevelTableCondition
net.minecraft.class_182
net.minecraft.loot.condition.TableBonusLootCondition
net.minecraft.loot.conditions.TableBonus
net.minecraft.server.v1_16_R2.LootItemConditionTableBonus

Field summary

Modifier and TypeField
private final Enchantment
a
enchantment
field_1234
enchantment
field_215958_a
private final float[]
b
values
field_1235
chances
field_215959_b

Constructor summary

ModifierConstructor
private (Enchantment enchantment, float[] chances)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
func_230419_b_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
public boolean
a(cys arg0)
test(LootContext arg0)
method_799(class_47 arg0)
test(LootContext arg0)
test(LootContext arg0)
public static LootItemCondition$Builder
a(bpp arg0, float... arg1)
bonusLevelFlatChance(Enchantment arg0, float... arg1)
method_800(class_1887 arg0, float... arg1)
builder(Enchantment enchantment, float... chances)
func_215955_a(Enchantment arg0, float... arg1)