net.minecraft.world.level.storage.loot

public class LootPool

cpa
net.minecraft.world.level.storage.loot.LootPool
net.minecraft.class_55
net.minecraft.loot.LootPool
net.minecraft.world.storage.loot.LootPool
net.minecraft.server.v1_14_R1.LootSelector

Field summary

Modifier and TypeField
private final LootPoolEntryContainer[]
a
entries
field_953
entries
field_186453_a
private final LootItemCondition[]
b
conditions
field_954
conditions
field_186454_b
private final Predicate<LootContext>
c
compositeCondition
field_955
predicate
field_216101_c
private final LootItemFunction[]
d
functions
field_956
functions
field_216102_d
private final BiFunction<ItemStack, LootContext, ItemStack>
e
compositeFunction
field_952
javaFunctions
field_216103_e
private final RandomIntGenerator
f
rolls
field_957
rollsRange
field_186455_c
private final RandomValueBounds
g
bonusRolls
field_958
bonusRollsRange
field_186456_d

Constructor summary

ModifierConstructor
private (LootPoolEntryContainer[] entries, LootItemCondition[] conditions, LootItemFunction[] functions, RandomIntGenerator rollsRange, RandomValueBounds bonusRollsRange)

Method summary

Modifier and TypeMethod
private void
b(Consumer<bcj> arg0, coy arg1)
addRandomItem(Consumer<ItemStack> arg0, LootContext arg1)
method_345(Consumer<class_1799> arg0, class_47 arg1)
supplyOnce(Consumer<ItemStack> itemDropper, LootContext context)
func_216095_b(Consumer<ItemStack> arg0, LootContext arg1)
public void
a(Consumer<bcj> arg0, coy arg1)
addRandomItems(Consumer<ItemStack> arg0, LootContext arg1)
method_341(Consumer<class_1799> arg0, class_47 arg1)
drop(Consumer<ItemStack> itemDropper, LootContext context)
func_216091_a(Consumer<ItemStack> arg0, LootContext arg1)
public void
a(cpc arg0, Function<qv, cpb> arg1, Set<qv> arg2, cqx arg3)
validate(LootTableProblemCollector arg0, Function<ResourceLocation, LootTable> arg1, Set<ResourceLocation> arg2, LootContextParamSet arg3)
method_349(class_58 arg0, Function<class_2960, class_52> arg1, Set<class_2960> arg2, class_176 arg3)
check(LootTableReporter reporter, Function<Identifier, LootTable> supplierGetter, Set<Identifier> parentLootTables, LootContextType contextType)
func_216099_a(ValidationResults arg0, Function<ResourceLocation, LootTable> arg1, Set<ResourceLocation> arg2, LootParameterSet arg3)
public static LootPool$Builder
a()
lootPool()
method_347()
builder()
func_216096_a()