net.minecraft.world.level.storage.loot

public class LootPool

ewt
net.minecraft.world.level.storage.loot.LootPool
net.minecraft.class_55
net.minecraft.loot.LootPool
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
private final List<LootPoolEntryContainer>
b
entries
field_953
entries
private final List<LootItemCondition>
c
conditions
field_954
conditions
private final Predicate<LootContext>
d
compositeCondition
field_955
predicate
private final List<LootItemFunction>
e
functions
field_956
functions
private final BiFunction<ItemStack, LootContext, ItemStack>
f
compositeFunction
field_952
javaFunctions
private final NumberProvider
g
rolls
field_957
rolls
private final NumberProvider
h
bonusRolls
field_958
bonusRolls

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<cxp> arg0, ewp arg1)
addRandomItem(Consumer<ItemStack> arg0, LootContext arg1)
method_345(Consumer<class_1799> arg0, class_47 arg1)
supplyOnce(Consumer<ItemStack> lootConsumer, LootContext context)
public void
a(Consumer<cxp> arg0, ewp arg1)
addRandomItems(Consumer<ItemStack> arg0, LootContext arg1)
method_341(Consumer<class_1799> arg0, class_47 arg1)
addGeneratedLoot(Consumer<ItemStack> lootConsumer, LootContext context)
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_349(class_58 arg0)
validate(LootTableReporter reporter)
public static LootPool$Builder
a()
lootPool()
method_347()
builder()