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

public record BonusLevelTableCondition

implements LootItemCondition

ezn
net.minecraft.world.level.storage.loot.predicates.BonusLevelTableCondition
net.minecraft.class_182
net.minecraft.loot.condition.TableBonusLootCondition
net.minecraft.world.level.storage.loot.predicates.LootItemConditionTableBonus

Field summary

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

Constructor summary

ModifierConstructor
public (Holder<Enchantment> arg0, List<Float> arg1)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_799(class_47 arg0)
test(LootContext arg0)
public static LootItemCondition$Builder
a(jq<ddz> arg0, float... arg1)
bonusLevelFlatChance(Holder<Enchantment> arg0, float... arg1)
method_800(class_6880<class_1887> arg0, float... arg1)
builder(RegistryEntry<Enchantment> enchantment, float... chances)
public Holder<Enchantment>
c()
enchantment()
comp_1867()
enchantment()
public List<Float>
d()
values()
comp_1868()
chances()