net.minecraft.world.level.storage.loot

public class LootTable

erw
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
private static final org.slf4j.Logger
f
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_
public static final long
c
RANDOMIZE_SEED
field_49428
DEFAULT_SEED
f_314361_
public static final com.mojang.serialization.Codec<LootTable>
d
DIRECT_CODEC
field_50021
CODEC
f_315527_
public static final com.mojang.serialization.Codec<Holder<LootTable>>
e
CODEC
field_45796
ENTRY_CODEC
f_290440_
private final LootContextParamSet
g
paramSet
field_942
type
f_79108_
private final Optional<ResourceLocation>
h
randomSequence
field_44892
randomSequenceId
f_286958_
private final List<LootPool>
i
pools
field_943
pools
f_79109_
private final List<LootItemFunction>
j
functions
field_944
functions
f_79110_
private final BiFunction<ItemStack, LootContext, ItemStack>
k
compositeFunction
field_945
combinedFunction
f_79111_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Consumer<ItemStack>
a(aqu arg0, Consumer<cuq> arg1)
createStackSplitter(ServerLevel arg0, Consumer<ItemStack> arg1)
method_332(class_3218 arg0, Consumer<class_1799> arg1)
processStacks(ServerWorld world, Consumer<ItemStack> consumer)
m_246283_(C_12_ p_287765_, Consumer<C_1391_> p_251308_)
public void
a(eru arg0, Consumer<cuq> arg1)
getRandomItemsRaw(LootParams arg0, Consumer<ItemStack> arg1)
method_51881(class_8567 arg0, Consumer<class_1799> arg1)
generateUnprocessedLoot(LootContextParameterSet parameters, Consumer<ItemStack> lootConsumer)
m_287190_(C_286926_ p_287781_, Consumer<C_1391_> arg1)
public void
a(err arg0, Consumer<cuq> 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
a(eru arg0, long arg1, Consumer<cuq> arg2)
getRandomItems(LootParams arg0, long arg1, Consumer<ItemStack> arg2)
method_51880(class_8567 arg0, long arg1, Consumer<class_1799> arg2)
generateLoot(LootContextParameterSet parameters, long seed, Consumer<ItemStack> lootConsumer)
m_287276_(C_286926_ p_287729_, long p_287583_, Consumer<C_1391_> arg2)
public void
b(eru arg0, Consumer<cuq> arg1)
getRandomItems(LootParams arg0, Consumer<ItemStack> arg1)
method_51882(class_8567 arg0, Consumer<class_1799> arg1)
generateLoot(LootContextParameterSet parameters, Consumer<ItemStack> lootConsumer)
m_287228_(C_286926_ p_287617_, Consumer<C_1391_> arg1)
public void
b(err arg0, Consumer<cuq> 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 it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(eru arg0, ayw arg1)
getRandomItems(LootParams arg0, RandomSource arg1)
method_60569(class_8567 arg0, class_5819 arg1)
generateLoot(LootContextParameterSet parameters, Random random)
m_338621_(C_286926_ p_344559_, C_212974_ arg1)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(eru arg0, long arg1)
getRandomItems(LootParams arg0, long arg1)
method_51879(class_8567 arg0, long arg1)
generateLoot(LootContextParameterSet parameters, long seed)
m_287214_(C_286926_ p_287773_, long arg1)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(eru arg0)
getRandomItems(LootParams arg0)
method_51878(class_8567 arg0)
generateLoot(LootContextParameterSet parameters)
m_287195_(C_286926_ arg0)
private it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack>
a(err arg0)
getRandomItems(LootContext arg0)
method_319(class_47 arg0)
generateLoot(LootContext context)
m_230922_(C_2811_ arg0)
public LootContextParamSet
a()
getParamSet()
method_322()
getType()
m_79122_()
public void
a(erx arg0)
validate(ValidationContext arg0)
method_330(class_58 arg0)
validate(LootTableReporter reporter)
m_79136_(C_2837_ arg0)
public void
a(bqk arg0, eru arg1, long arg2)
fill(Container arg0, LootParams arg1, long arg2)
method_329(class_1263 arg0, class_8567 arg1, long arg2)
supplyInventory(Inventory inventory, LootContextParameterSet parameters, long seed)
m_287188_(C_464_ p_287743_, C_286926_ p_287585_, long arg2)
private void
a(it.unimi.dsi.fastutil.objects.ObjectArrayList<cuq> arg0, int arg1, ayw 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)
shuffle(it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> drops, int freeSlots, Random random)
m_230924_(it.unimi.dsi.fastutil.objects.ObjectArrayList<C_1391_> p_230926_, int p_230927_, C_212974_ arg2)
private List<Integer>
a(bqk arg0, ayw arg1)
getAvailableSlots(Container arg0, RandomSource arg1)
method_321(class_1263 arg0, class_5819 arg1)
getFreeSlots(Inventory inventory, Random random)
m_230919_(C_464_ p_230921_, C_212974_ arg1)
public static LootTable$Builder
b()
lootTable()
method_324()
builder()
m_79147_()