net.minecraft.world.level.storage.loot

public class LootTable

cyv
net.minecraft.world.level.storage.loot.LootTable
net.minecraft.class_52
net.minecraft.unmapped.C_inwsuliy
net.minecraft.loot.LootTable
net.minecraft.loot.LootTable
net.minecraft.server.v1_16_R2.LootTable

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_946
f_rgkwwxmf
LOGGER
field_186465_b
public static final LootTable
a
EMPTY
field_948
f_sartmpeq
EMPTY
field_186464_a
EMPTY
public static final LootContextParamSet
b
DEFAULT_PARAM_SET
field_947
f_ookilagu
GENERIC
field_216126_b
private final LootContextParamSet
d
paramSet
field_942
f_dyzbynxg
type
field_216127_d
private final LootPool[]
e
pools
field_943
f_nawobxkn
pools
field_186466_c
private final LootItemFunction[]
f
functions
field_944
f_fuzuxxka
functions
field_216128_f
private final BiFunction<ItemStack, LootContext, ItemStack>
g
compositeFunction
field_945
f_euzdblpq
combinedFunction
field_216129_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Consumer<ItemStack>
a(Consumer<bly> arg0)
createStackSplitter(Consumer<ItemStack> arg0)
method_332(Consumer<class_1799> arg0)
m_xfbhesuf(Consumer<C_sddaxwyk> arg0)
processStacks(Consumer<ItemStack> lootConsumer)
func_216124_a(Consumer<ItemStack> arg0)
public void
a(cys arg0, Consumer<bly> arg1)
getRandomItemsRaw(LootContext arg0, Consumer<ItemStack> arg1)
method_328(class_47 arg0, Consumer<class_1799> arg1)
m_dgsptics(C_iakykpgh arg0, Consumer<C_sddaxwyk> arg1)
generateUnprocessedLoot(LootContext context, Consumer<ItemStack> lootConsumer)
func_216114_a(LootContext arg0, Consumer<ItemStack> arg1)
populateLootDirect(LootTableInfo arg0, Consumer<ItemStack> arg1)
public void
b(cys arg0, Consumer<bly> arg1)
getRandomItems(LootContext arg0, Consumer<ItemStack> arg1)
method_320(class_47 arg0, Consumer<class_1799> arg1)
m_pkirjipa(C_iakykpgh arg0, Consumer<C_sddaxwyk> arg1)
generateLoot(LootContext context, Consumer<ItemStack> lootConsumer)
func_216120_b(LootContext arg0, Consumer<ItemStack> arg1)
populateLoot(LootTableInfo arg0, Consumer<ItemStack> arg1)
public List<ItemStack>
a(cys arg0)
getRandomItems(LootContext arg0)
method_319(class_47 arg0)
m_ojtyacvj(C_iakykpgh arg0)
generateLoot(LootContext context)
func_216113_a(LootContext arg0)
populateLoot(LootTableInfo arg0)
public LootContextParamSet
a()
getParamSet()
method_322()
m_smqsokwf()
getType()
func_216122_a()
getLootContextParameterSet()
public void
a(czd arg0)
validate(ValidationContext arg0)
method_330(class_58 arg0)
m_bipjegzj(C_eumtgsbp arg0)
validate(LootTableReporter reporter)
func_227506_a_(ValidationTracker arg0)
public void
a(aok arg0, cys arg1)
fill(Container arg0, LootContext arg1)
method_329(class_1263 arg0, class_47 arg1)
m_ouyfrjky(C_pjtstjoq arg0, C_iakykpgh arg1)
supplyInventory(Inventory inventory, LootContext context)
func_216118_a(IInventory arg0, LootContext arg1)
fillInventory(IInventory arg0, LootTableInfo arg1)
private void
a(List<bly> arg0, int arg1, Random arg2)
shuffleAndSplitItems(List<ItemStack> arg0, int arg1, Random arg2)
method_333(List<class_1799> arg0, int arg1, Random arg2)
m_ghguzryl(List<C_sddaxwyk> arg0, int arg1, Random arg2)
shuffle(List<ItemStack> drops, int freeSlots, Random random)
func_186463_a(List<ItemStack> arg0, int arg1, Random arg2)
private List<Integer>
a(aok arg0, Random arg1)
getAvailableSlots(Container arg0, Random arg1)
method_321(class_1263 arg0, Random arg1)
m_cnfpztrf(C_pjtstjoq arg0, Random arg1)
getFreeSlots(Inventory inventory, Random random)
func_186459_a(IInventory arg0, Random arg1)
public static LootTable$Builder
b()
lootTable()
method_324()
m_tmeopeok()
builder()
func_216119_b()