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

public abstract class LootPoolSingletonContainer

extends LootPoolEntryContainer

All mapped superinterfaces:

ComposableEntryContainer

esj
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
d
DEFAULT_WEIGHT
field_31847
DEFAULT_WEIGHT
f_165150_
public static final int
f
DEFAULT_QUALITY
field_31848
DEFAULT_QUALITY
f_165151_
protected final int
g
weight
field_995
weight
f_79675_
protected final int
h
quality
field_994
quality
f_79676_
protected final List<LootItemFunction>
i
functions
field_996
functions
f_79677_
final BiFunction<ItemStack, LootContext, ItemStack>
a
compositeFunction
field_997
compiledFunctions
f_79678_
private final LootPoolEntry
j
entry
field_998
choice
f_79679_

Constructor summary

ModifierConstructor
protected (int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions)

Method summary

Modifier and TypeMethod
protected static <T extends LootPoolSingletonContainer> com.mojang.datafixers.Products$P4<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<T>, Integer, Integer, List<LootItemCondition>, List<LootItemFunction>>
b(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
singletonFields(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
method_53290(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
addLeafFields(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> instance)
m_294967_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> p_299133_)
public void
a(erx arg0)
validate(ValidationContext arg0)
method_415(class_58 arg0)
validate(LootTableReporter arg0)
m_6165_(C_2837_ arg0)
protected abstract void
a(Consumer<cuq> arg0, err 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(err arg0, Consumer<esg> 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(esj$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_)