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 pLevel) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault void
EquipmentUser.equip
(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, long pSeed, Map<EquipmentSlot, Float> pSlotDropChances) default void
EquipmentUser.equip
(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, Map<EquipmentSlot, Float> pSlotDropChances) default void
EquipmentUser.equip
(EquipmentTable pEquipmentTable, LootParams pParams) -
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 pContainer, LootParams pParams, long pSeed) 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 pParams, long pSeed, Consumer<ItemStack> pOutput) void
LootTable.getRandomItems
(LootParams pParams, Consumer<ItemStack> pOutput) it.unimi.dsi.fastutil.objects.ObjectArrayList
<ItemStack> LootTable.getRandomItems
(LootParams p_347545_, RandomSource p_347680_) void
LootTable.getRandomItemsRaw
(LootParams pParams, Consumer<ItemStack> pOutput) Deprecated.Constructors in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifierConstructorDescriptionBuilder
(LootParams pParams) (package private)
LootContext
(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver) private
LootContext
(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver, ResourceLocation queriedLootTableId)