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

public abstract class LootPoolSingletonContainer

extends LootPoolEntryContainer

All mapped superinterfaces:

ComposableEntryContainer

exh
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
net.minecraft.class_85
net.minecraft.loot.entry.LeafEntry
net.minecraft.world.level.storage.loot.entries.LootSelectorEntry

Field summary

Modifier and TypeField
public static final int
d
DEFAULT_WEIGHT
field_31847
DEFAULT_WEIGHT
public static final int
f
DEFAULT_QUALITY
field_31848
DEFAULT_QUALITY
protected final int
g
weight
field_995
weight
protected final int
h
quality
field_994
quality
protected final List<LootItemFunction>
i
functions
field_996
functions
final BiFunction<ItemStack, LootContext, ItemStack>
a
compositeFunction
field_997
compiledFunctions
private final LootPoolEntry
j
entry
field_998
choice

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)
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_415(class_58 arg0)
validate(LootTableReporter arg0)
protected abstract void
a(Consumer<cxp> arg0, ewp arg1)
createItemStack(Consumer<ItemStack> arg0, LootContext arg1)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
public boolean
expand(ewp arg0, Consumer<exe> arg1)
expand(LootContext arg0, Consumer<LootPoolEntry> arg1)
expand(class_47 arg0, Consumer<class_82> arg1)
expand(LootContext arg0, Consumer<LootChoice> arg1)
public static LootPoolSingletonContainer$Builder<?>
a(exh$d arg0)
simpleBuilder(LootPoolSingletonContainer$EntryConstructor arg0)
method_434(class_85$class_89 arg0)
builder(LeafEntry$Factory factory)