net.minecraft.world.level.storage.loot.functions

public class EnchantWithLevelsFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

csz
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction
net.minecraft.class_106
net.minecraft.loot.function.EnchantWithLevelsLootFunction
net.minecraft.world.storage.loot.functions.EnchantWithLevels
net.minecraft.server.v1_15_R1.LootEnchantLevel

Field summary

Modifier and TypeField
private final RandomIntGenerator
a
levels
field_1026
range
field_186577_a
private final boolean
c
treasure
field_1027
treasureEnchantmentsAllowed
field_186578_b

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, RandomIntGenerator range, boolean treasureEnchantmentsAllowed)

Method summary

Modifier and TypeMethod
public ItemStack
a(bek arg0, cru arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static EnchantWithLevelsFunction$Builder
a(csa arg0)
enchantWithLevels(RandomIntGenerator arg0)
method_481(class_59 arg0)
builder(LootTableRange range)
func_215895_a(IRandomRange arg0)