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

public abstract class LootPoolSingletonContainer

extends LootPoolEntryContainer

All mapped superinterfaces:

ComposableEntryContainer

dku
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
net.minecraft.class_85
net.minecraft.loot.entry.LeafEntry
net.minecraft.src.C_2860_
net.minecraft.world.level.storage.loot.entries.LootSelectorEntry

Field summary

Modifier and TypeField
public static final int
c
DEFAULT_WEIGHT
field_31847
field_31847
f_165150_
public static final int
e
DEFAULT_QUALITY
field_31848
field_31848
f_165151_
protected final int
f
weight
field_995
weight
f_79675_
protected final int
g
quality
field_994
quality
f_79676_
protected final LootItemFunction[]
h
functions
field_996
functions
f_79677_
final BiFunction<ItemStack, LootContext, ItemStack>
i
compositeFunction
field_997
compiledFunctions
f_79678_
private final LootPoolEntry
j
entry
field_998
choice
f_79679_

Constructor summary

ModifierConstructor
protected (int weight, int quality, LootItemCondition[] conditions, LootItemFunction[] functions)

Method summary

Modifier and TypeMethod
public void
a(dki arg0)
validate(ValidationContext arg0)
method_415(class_58 arg0)
validate(LootTableReporter arg0)
m_6165_(C_2837_ arg0)
protected abstract void
a(Consumer<bue> arg0, dka arg1)
createItemStack(Consumer<ItemStack> arg0, LootContext arg1)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
m_6948_(Consumer<C_1391_> p_79692_, C_2811_ arg1)
public boolean
expand(dka arg0, Consumer<dkr> arg1)
expand(LootContext arg0, Consumer<LootPoolEntry> arg1)
expand(class_47 arg0, Consumer<class_82> arg1)
expand(LootContext arg0, Consumer<LootChoice> arg1)
m_6562_(C_2811_ p_79695_, Consumer<C_2855_> arg1)
public static LootPoolSingletonContainer$Builder<?>
a(dku$d arg0)
simpleBuilder(LootPoolSingletonContainer$EntryConstructor arg0)
method_434(class_85$class_89 arg0)
builder(LeafEntry$Factory factory)
m_79687_(C_2860_$C_2865_ p_79688_)