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> p_287721_, Holder<LootTable> p_335766_, LootParams p_287728_, LootCommand.DropConsumer p_287770_) -
Uses of LootParams in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return LootParamsModifier and TypeMethodDescriptionprivate LootParams
Mob.createEquipmentParams
(ServerLevel p_338758_) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault void
EquipmentUser.equip
(ResourceKey<LootTable> p_340873_, LootParams p_338202_, long p_341024_, Map<EquipmentSlot, Float> p_341367_) default void
EquipmentUser.equip
(ResourceKey<LootTable> p_341330_, LootParams p_340863_, Map<EquipmentSlot, Float> p_341011_) default void
EquipmentUser.equip
(EquipmentTable p_340994_, LootParams p_338408_) -
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 p_287662_, LootParams p_287743_, long p_287585_) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams p_287616_) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams p_287574_, long p_287773_) void
LootTable.getRandomItems
(LootParams p_287748_, long p_287729_, Consumer<ItemStack> p_287583_) void
LootTable.getRandomItems
(LootParams p_287704_, Consumer<ItemStack> p_287617_) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams p_347545_, RandomSource p_347680_) void
LootTable.getRandomItemsRaw
(LootParams p_287669_, Consumer<ItemStack> p_287781_) Deprecated.Constructors in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifierConstructorDescriptionBuilder
(LootParams p_287628_) (package private)
LootContext
(LootParams p_287722_, RandomSource p_287702_, HolderGetter.Provider p_335850_) private
LootContext
(LootParams p_287722_, RandomSource p_287702_, HolderGetter.Provider p_287619_, ResourceLocation queriedLootTableId)