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.unmapped.C_hujvlqyo
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
f_uznihzkv
range
field_186577_a
private final boolean
c
treasure
field_1027
f_mdbmdlse
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)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh 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)
m_baumhjth(C_ijtvdiny arg0)
builder(LootTableRange range)
func_215895_a(IRandomRange arg0)