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

字段概要

修饰符与类型字段
private final RandomIntGenerator
a
levels
field_1026
range
field_186577_a
private final boolean
c
treasure
field_1027
treasureEnchantmentsAllowed
field_186578_b

构造函数概要

修饰符构造函数
private (LootItemCondition[] conditions, RandomIntGenerator range, boolean treasureEnchantmentsAllowed)

方法概要

修饰符与类型方法
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)