net.minecraft.world.level.storage.loot

public class LootParams

fod
net.minecraft.world.level.storage.loot.LootParams
net.minecraft.class_8567
net.minecraft.loot.context.LootWorldContext
net.minecraft.src.C_286926_
net.minecraft.world.level.storage.loot.LootParams

字段概要

修饰符与类型字段
private final ServerLevel
a
level
field_44883
world
f_286983_
private final ContextMap
b
params
field_44884
parameters
f_286977_
private final Map<Identifier, LootParams$DynamicDrop>
c
dynamicDrops
field_44885
dynamicDrops
f_286955_
private final float
d
luck
field_44886
luck
f_286957_

构造函数概要

修饰符构造函数
public (ServerLevel world, ContextMap parameters, Map<Identifier, LootParams$DynamicDrop> dynamicDrops, float luck)

方法概要

修饰符与类型方法
public ServerLevel
a()
getLevel()
method_51863()
getWorld()
m_287182_()
public ContextMap
b()
contextMap()
method_65014()
getParameters()
m_356283_()
public void
a(amo arg0, Consumer<dlt> arg1)
addDynamicDrops(Identifier arg0, Consumer<ItemStack> arg1)
method_51864(class_2960 arg0, Consumer<class_1799> arg1)
addDynamicDrops(Identifier id, Consumer<ItemStack> lootConsumer)
m_287256_(C_432211_ p_287711_, Consumer<C_1391_> arg1)
public float
c()
getLuck()
method_51866()
getLuck()
m_287164_()