net.minecraft.world.level.storage.loot

public class LootPool

ehd
net.minecraft.world.level.storage.loot.LootPool
net.minecraft.class_55
net.minecraft.loot.LootPool
net.minecraft.src.C_2818_
net.minecraft.world.level.storage.loot.LootSelector

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<LootPool>
a
CODEC
field_45795
CODEC
f_290497_
private final List<LootPoolEntryContainer>
b
entries
field_953
entries
f_79023_
private final List<LootItemCondition>
c
conditions
field_954
conditions
f_79024_
private final Predicate<LootContext>
d
compositeCondition
field_955
predicate
f_79025_
private final List<LootItemFunction>
e
functions
field_956
functions
f_79026_
private final BiFunction<ItemStack, LootContext, ItemStack>
f
compositeFunction
field_952
javaFunctions
f_79027_
private final NumberProvider
g
rolls
field_957
rolls
f_79028_
private final NumberProvider
h
bonusRolls
field_958
bonusRolls
f_79029_

Constructor summary

ModifierConstructor
(List<LootPoolEntryContainer> entries, List<LootItemCondition> conditions, List<LootItemFunction> functions, NumberProvider rolls, NumberProvider bonusRolls)

Method summary

Modifier and TypeMethod
private void
b(Consumer<cmy> arg0, egw arg1)
addRandomItem(Consumer<ItemStack> arg0, LootContext arg1)
method_345(Consumer<class_1799> arg0, class_47 arg1)
supplyOnce(Consumer<ItemStack> lootConsumer, LootContext context)
m_79058_(Consumer<C_1391_> p_79060_, C_2811_ arg1)
public void
a(Consumer<cmy> arg0, egw arg1)
addRandomItems(Consumer<ItemStack> arg0, LootContext arg1)
method_341(Consumer<class_1799> arg0, class_47 arg1)
addGeneratedLoot(Consumer<ItemStack> lootConsumer, LootContext context)
m_79053_(Consumer<C_1391_> p_79055_, C_2811_ arg1)
public void
a(ehf arg0)
validate(ValidationContext arg0)
method_349(class_58 arg0)
validate(LootTableReporter reporter)
m_79051_(C_2837_ arg0)
public static LootPool$Builder
a()
lootPool()
method_347()
builder()
m_79043_()