net.minecraft.world.level.storage.loot

public class LootPool

evw
net.minecraft.world.level.storage.loot.LootPool
net.minecraft.class_55
net.minecraft.unmapped.C_yaprhqrh
net.minecraft.loot.LootPool
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
f_vqmnmfaj
CODEC
CODEC
f_290497_
private final List<LootPoolEntryContainer>
b
entries
field_953
f_bbudefps
entries
entries
f_79023_
private final List<LootItemCondition>
c
conditions
field_954
f_nmogiheq
conditions
conditions
f_79024_
private final Predicate<LootContext>
d
compositeCondition
field_955
f_rnkwguda
predicate
predicate
f_79025_
private final List<LootItemFunction>
e
functions
field_956
f_ylrsjjzy
functions
functions
f_79026_
private final BiFunction<ItemStack, LootContext, ItemStack>
f
compositeFunction
field_952
f_ehfmjapd
javaFunctions
javaFunctions
f_79027_
private final NumberProvider
g
rolls
field_957
f_ddojmgpb
rolls
rolls
f_79028_
private final NumberProvider
h
bonusRolls
field_958
f_acstrxwp
bonusRolls
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<cwq> arg0, evs arg1)
addRandomItem(Consumer<ItemStack> arg0, LootContext arg1)
method_345(Consumer<class_1799> arg0, class_47 arg1)
m_ozbdjpls(Consumer<C_sddaxwyk> arg0, C_iakykpgh arg1)
supplyOnce(Consumer<ItemStack> lootConsumer, LootContext context)
supplyOnce(Consumer<ItemStack> lootConsumer, LootContext context)
m_79058_(Consumer<C_1391_> p_79060_, C_2811_ arg1)
public void
a(Consumer<cwq> arg0, evs arg1)
addRandomItems(Consumer<ItemStack> arg0, LootContext arg1)
method_341(Consumer<class_1799> arg0, class_47 arg1)
m_gvwmxvoz(Consumer<C_sddaxwyk> arg0, C_iakykpgh arg1)
addGeneratedLoot(Consumer<ItemStack> lootConsumer, LootContext context)
addGeneratedLoot(Consumer<ItemStack> lootConsumer, LootContext context)
m_79053_(Consumer<C_1391_> p_79055_, C_2811_ arg1)
public void
a(evy arg0)
validate(ValidationContext arg0)
method_349(class_58 arg0)
m_tvubdoxl(C_eumtgsbp arg0)
validate(LootTableReporter reporter)
validate(LootTableReporter reporter)
m_79051_(C_2837_ arg0)
public static LootPool$Builder
a()
lootPool()
method_347()
m_zrmyzjen()
builder()
builder()
m_79043_()