net.minecraft.world.level.storage.loot.entries

public class DynamicLoot

extends LootPoolSingletonContainer

All mapped superinterfaces:

ComposableEntryContainer

fok
net.minecraft.world.level.storage.loot.entries.DynamicLoot
net.minecraft.class_67
net.minecraft.loot.entry.DynamicEntry
net.minecraft.src.C_2844_
net.minecraft.world.level.storage.loot.entries.LootSelectorDynamic

字段概要

修饰符与类型字段
public static final com.mojang.serialization.MapCodec<DynamicLoot>
a
CODEC
field_45798
CODEC
f_290612_
private final Identifier
j
name
field_980
name
f_79463_

构造函数概要

修饰符构造函数
private (Identifier name, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions)

方法概要

修饰符与类型方法
public LootPoolEntryType
a()
getType()
method_29318()
getType()
m_6751_()
public void
a(Consumer<dlt> arg0, fnz arg1)
createItemStack(Consumer<ItemStack> arg0, LootContext arg1)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> arg0, LootContext arg1)
m_6948_(Consumer<C_1391_> p_79482_, C_2811_ arg1)
public static LootPoolSingletonContainer$Builder<?>
a(amo arg0)
dynamicEntry(Identifier arg0)
method_390(class_2960 arg0)
builder(Identifier name)
m_79483_(C_432211_ p_452776_)