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

public class EnchantWithLevelsFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dad
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction
net.minecraft.class_106
net.minecraft.loot.function.EnchantWithLevelsLootFunction
net.minecraft.loot.functions.EnchantWithLevels
net.minecraft.server.v1_16_R3.LootEnchantLevel

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public ItemStack
a(bmb arg0, cyv 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(czb arg0)
enchantWithLevels(RandomIntGenerator arg0)
method_481(class_59 arg0)
builder(LootTableRange range)
func_215895_a(IRandomRange arg0)