net.minecraft.world.level.storage.loot

public class LootTable

dlf
net.minecraft.world.level.storage.loot.LootTable
net.minecraft.class_52
net.minecraft.loot.LootTable
net.minecraft.src.C_2822_
net.minecraft.world.level.storage.loot.LootTable

Field summary

Modifier and TypeField
static final org.slf4j.Logger
c
LOGGER
field_946
LOGGER
f_79107_
public static final LootTable
a
EMPTY
field_948
EMPTY
f_79105_
public static final LootContextParamSet
b
DEFAULT_PARAM_SET
field_947
GENERIC
f_79106_
final LootContextParamSet
d
paramSet
field_942
type
f_79108_
final LootPool[]
e
pools
field_943
pools
f_79109_
final LootItemFunction[]
f
functions
field_944
functions
f_79110_
private final BiFunction<ItemStack, LootContext, ItemStack>
g
compositeFunction
field_945
combinedFunction
f_79111_

Constructor summary

ModifierConstructor
(LootContextParamSet type, LootPool[] pools, LootItemFunction[] functions)

Method summary

Modifier and TypeMethod
public static Consumer<ItemStack>
a(Consumer<buw> arg0)
createStackSplitter(Consumer<ItemStack> arg0)
method_332(Consumer<class_1799> arg0)
processStacks(Consumer<ItemStack> lootConsumer)
m_79142_(Consumer<C_1391_> p_79143_)
public void
a(dlc arg0, Consumer<buw> arg1)
getRandomItemsRaw(LootContext arg0, Consumer<ItemStack> arg1)
method_328(class_47 arg0, Consumer<class_1799> arg1)
generateUnprocessedLoot(LootContext context, Consumer<ItemStack> lootConsumer)
m_79131_(C_2811_ p_79133_, Consumer<C_1391_> arg1)
public void
b(dlc arg0, Consumer<buw> arg1)
getRandomItems(LootContext arg0, Consumer<ItemStack> arg1)
method_320(class_47 arg0, Consumer<class_1799> arg1)
generateLoot(LootContext context, Consumer<ItemStack> lootConsumer)
m_79148_(C_2811_ p_79150_, Consumer<C_1391_> arg1)
public List<ItemStack>
a(dlc arg0)
getRandomItems(LootContext arg0)
method_319(class_47 arg0)
generateLoot(LootContext context)
m_79129_(C_2811_ arg0)
public LootContextParamSet
a()
getParamSet()
method_322()
getType()
m_79122_()
public void
a(dlk arg0)
validate(ValidationContext arg0)
method_330(class_58 arg0)
validate(LootTableReporter reporter)
m_79136_(C_2837_ arg0)
public void
a(awa arg0, dlc arg1)
fill(Container arg0, LootContext arg1)
method_329(class_1263 arg0, class_47 arg1)
supplyInventory(Inventory inventory, LootContext context)
m_79123_(C_464_ p_79125_, C_2811_ arg1)
private void
a(List<buw> arg0, int arg1, Random arg2)
shuffleAndSplitItems(List<ItemStack> arg0, int arg1, Random arg2)
method_333(List<class_1799> arg0, int arg1, Random arg2)
shuffle(List<ItemStack> drops, int freeSlots, Random random)
m_79138_(List<C_1391_> p_79140_, int p_79141_, Random arg2)
private List<Integer>
a(awa arg0, Random arg1)
getAvailableSlots(Container arg0, Random arg1)
method_321(class_1263 arg0, Random arg1)
getFreeSlots(Inventory inventory, Random random)
m_79126_(C_464_ p_79128_, Random arg1)
public static LootTable$Builder
b()
lootTable()
method_324()
builder()
m_79147_()