Uses of Class
net.minecraft.world.level.storage.loot.LootParams
Packages that use LootParams
Package
Description
-
Uses of LootParams in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type LootParamsModifier and TypeMethodDescriptionprivate static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams params, LootCommand.DropConsumer dropConsumer) -
Uses of LootParams in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return LootParamsModifier and TypeMethodDescriptionprivate LootParams
Mob.createEquipmentParams
(ServerLevel level) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault void
EquipmentUser.equip
(ResourceKey<LootTable> equipmentLootTable, LootParams params, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentUser.equip
(ResourceKey<LootTable> equipmentLootTable, LootParams params, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentUser.equip
(EquipmentTable equipmentTable, LootParams params) -
Uses of LootParams in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as LootParamsModifier and TypeFieldDescriptionprivate final LootParams
LootContext.Builder.params
private final LootParams
LootContext.params
Methods in net.minecraft.world.level.storage.loot that return LootParamsMethods in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifier and TypeMethodDescriptionvoid
LootTable.fill
(Container container, LootParams params, long seed) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams params) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams params, long seed) void
LootTable.getRandomItems
(LootParams params, long seed, Consumer<ItemStack> output) void
LootTable.getRandomItems
(LootParams params, Consumer<ItemStack> output) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams params, RandomSource random) void
LootTable.getRandomItemsRaw
(LootParams params, Consumer<ItemStack> output) Deprecated.Constructors in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifierConstructorDescriptionBuilder
(LootParams params) (package private)
LootContext
(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver) private
LootContext
(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver, ResourceLocation queriedLootTableId)