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.unmapped.C_sphmzmsf
net.minecraft.loot.entry.LeafEntry
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
f_orhqpvhl
DEFAULT_WEIGHT
DEFAULT_WEIGHT
f_165150_
public static final int
f
DEFAULT_QUALITY
field_31848
f_nqxxtcze
DEFAULT_QUALITY
DEFAULT_QUALITY
f_165151_
protected final int
g
weight
field_995
f_wauvnusi
weight
weight
f_79675_
protected final int
h
quality
field_994
f_aytiidkr
quality
quality
f_79676_
protected final List<LootItemFunction>
i
functions
field_996
f_rxzrzurl
functions
functions
f_79677_
final BiFunction<ItemStack, LootContext, ItemStack>
a
compositeFunction
field_997
f_zccepqpd
compiledFunctions
compiledFunctions
f_79678_
private final LootPoolEntry
j
entry
field_998
f_rfavzwgx
choice
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)
m_jmkfgrnf(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)
m_wekrdfxi(C_eumtgsbp arg0)
validate(LootTableReporter 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)
m_jptxqkrt(Consumer<C_sddaxwyk> arg0, C_iakykpgh arg1)
generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
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)
m_dlwclfgf(C_sphmzmsf$C_wkmtcodm arg0)
builder(LeafEntry$Factory factory)
builder(LeafEntry$Factory factory)
m_79687_(C_2860_$C_2865_ p_79688_)