net.minecraft.world.level.storage.loot

public class LootTable

ezm
net.minecraft.world.level.storage.loot.LootTable
net.minecraft.class_52
net.minecraft.unmapped.C_inwsuliy
net.minecraft.loot.LootTable
net.minecraft.loot.LootTable

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
f
LOGGER
field_946
f_rgkwwxmf
LOGGER
LOGGER
public static final LootTable
a
EMPTY
field_948
f_sartmpeq
EMPTY
EMPTY
public static final ContextKeySet
b
DEFAULT_PARAM_SET
field_947
f_ookilagu
GENERIC
GENERIC
public static final long
c
RANDOMIZE_SEED
field_49428
f_kozlclng
DEFAULT_SEED
DEFAULT_SEED
public static final com.mojang.serialization.Codec<LootTable>
d
DIRECT_CODEC
field_50021
f_wvxzdplc
CODEC
CODEC
public static final com.mojang.serialization.Codec<Holder<LootTable>>
e
CODEC
field_45796
f_rmuzkcnb
ENTRY_CODEC
HOLDER_CODEC
private final ContextKeySet
g
paramSet
field_942
f_dyzbynxg
type
type
private final Optional<ResourceLocation>
h
randomSequence
field_44892
f_laaskmuo
randomSequenceId
randomSequenceId
private final List<LootPool>
i
pools
field_943
f_nawobxkn
pools
pools
private final List<LootItemFunction>
j
functions
field_944
f_fuzuxxka
functions
functions
private final BiFunction<ItemStack, LootContext, ItemStack>
k
compositeFunction
field_945
f_euzdblpq
combinedFunction
combinedFunction

Constructor summary

ModifierConstructor
(ContextKeySet type, Optional<ResourceLocation> randomSequenceId, List<LootPool> pools, List<LootItemFunction> functions)

Method summary

Modifier and TypeMethod
public static Consumer<ItemStack>
a(arq arg0, Consumer<czd> arg1)
createStackSplitter(ServerLevel arg0, Consumer<ItemStack> arg1)
method_332(class_3218 arg0, Consumer<class_1799> arg1)
m_xfbhesuf(C_bdwnwhiu arg0, Consumer<C_sddaxwyk> arg1)
processStacks(ServerWorld world, Consumer<ItemStack> consumer)
processStacks(ServerWorld world, Consumer<ItemStack> lootConsumer)
public void
a(ezk arg0, Consumer<czd> arg1)
getRandomItemsRaw(LootParams arg0, Consumer<ItemStack> arg1)
method_51881(class_8567 arg0, Consumer<class_1799> arg1)
m_gxmsdlak(C_nzsnkdtl arg0, Consumer<C_sddaxwyk> arg1)
generateUnprocessedLoot(LootWorldContext parameters, Consumer<ItemStack> lootConsumer)
generateRawLoot(LootContextParameterSet parameterSet, Consumer<ItemStack> lootConsumer)
public void
a(ezh arg0, Consumer<czd> arg1)
getRandomItemsRaw(LootContext arg0, Consumer<ItemStack> arg1)
method_328(class_47 arg0, Consumer<class_1799> arg1)
m_ksxvxexm(C_iakykpgh arg0, Consumer<C_sddaxwyk> arg1)
generateUnprocessedLoot(LootContext context, Consumer<ItemStack> lootConsumer)
generateRawLoot(LootContext context, Consumer<ItemStack> lootConsumer)
public void
a(ezk arg0, long arg1, Consumer<czd> arg2)
getRandomItems(LootParams arg0, long arg1, Consumer<ItemStack> arg2)
method_51880(class_8567 arg0, long arg1, Consumer<class_1799> arg2)
m_azuvczrx(C_nzsnkdtl arg0, long arg1, Consumer<C_sddaxwyk> arg2)
generateLoot(LootWorldContext parameters, long seed, Consumer<ItemStack> lootConsumer)
generateRawLoot(LootContextParameterSet parameterSet, long seed, Consumer<ItemStack> lootConsumer)
public void
b(ezk arg0, Consumer<czd> arg1)
getRandomItems(LootParams arg0, Consumer<ItemStack> arg1)
method_51882(class_8567 arg0, Consumer<class_1799> arg1)
m_henqulth(C_nzsnkdtl arg0, Consumer<C_sddaxwyk> arg1)
generateLoot(LootWorldContext parameters, Consumer<ItemStack> lootConsumer)
generateLoot(LootContextParameterSet parameterSet, Consumer<ItemStack> lootConsumer)
public void
b(ezh arg0, Consumer<czd> 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)
generateLoot(LootContext context, Consumer<ItemStack> lootConsumer)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(ezk arg0, azv arg1)
getRandomItems(LootParams arg0, RandomSource arg1)
method_60569(class_8567 arg0, class_5819 arg1)
m_qwijqopm(C_nzsnkdtl arg0, C_rlomrsco arg1)
generateLoot(LootWorldContext parameters, Random random)
generateLoot(LootContextParameterSet parameters, RandomGenerator random)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(ezk arg0, long arg1)
getRandomItems(LootParams arg0, long arg1)
method_51879(class_8567 arg0, long arg1)
m_nsgsgvtn(C_nzsnkdtl arg0, long arg1)
generateLoot(LootWorldContext parameters, long seed)
generateLoot(LootContextParameterSet parameterSet, long seed)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(ezk arg0)
getRandomItems(LootParams arg0)
method_51878(class_8567 arg0)
m_kdnetbvp(C_nzsnkdtl arg0)
generateLoot(LootWorldContext parameters)
generateLoot(LootContextParameterSet parameterSet)
private it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(ezh arg0)
getRandomItems(LootContext arg0)
method_319(class_47 arg0)
m_punwgoad(C_iakykpgh arg0)
generateLoot(LootContext context)
generateLoot(LootContext context)
public ContextKeySet
a()
getParamSet()
method_322()
m_smqsokwf()
getType()
getType()
public void
a(ezn arg0)
validate(ValidationContext arg0)
method_330(class_58 arg0)
m_bipjegzj(C_eumtgsbp arg0)
validate(LootTableReporter reporter)
validate(LootTableReporter reporter)
public void
a(btw arg0, ezk arg1, long arg2)
fill(Container arg0, LootParams arg1, long arg2)
method_329(class_1263 arg0, class_8567 arg1, long arg2)
m_ouyfrjky(C_pjtstjoq arg0, C_nzsnkdtl arg1, long arg2)
supplyInventory(Inventory inventory, LootWorldContext parameters, long seed)
supplyInventory(Inventory inventory, LootContextParameterSet parameterSet, long seed)
private void
a(it.unimi.dsi.fastutil.objects.ObjectArrayList<czd> arg0, int arg1, azv arg2)
shuffleAndSplitItems(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> arg0, int arg1, RandomSource arg2)
method_333(it.unimi.dsi.fastutil.objects.ObjectArrayList<class_1799> arg0, int arg1, class_5819 arg2)
m_ghguzryl(it.unimi.dsi.fastutil.objects.ObjectArrayList<C_sddaxwyk> arg0, int arg1, C_rlomrsco arg2)
spreadStacks(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> stacks, int freeSlots, Random random)
shuffle(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> drops, int freeSlots, RandomGenerator random)
private List<Integer>
a(btw arg0, azv arg1)
getAvailableSlots(Container arg0, RandomSource arg1)
method_321(class_1263 arg0, class_5819 arg1)
m_cnfpztrf(C_pjtstjoq arg0, C_rlomrsco arg1)
getFreeSlots(Inventory inventory, Random random)
getFreeSlots(Inventory inventory, RandomGenerator random)
public static LootTable$Builder
b()
lootTable()
method_324()
m_tmeopeok()
builder()
builder()