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 intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Holder<LootTable> pLootTable, LootParams pParams, LootCommand.DropConsumer pDropConsumer) -
Uses of LootParams in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return LootParamsModifier and TypeMethodDescriptionprivate LootParamsMob.createEquipmentParams(ServerLevel pLevel) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, long pSeed, Map<EquipmentSlot, Float> pSlotDropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, Map<EquipmentSlot, Float> pSlotDropChances) default voidEquipmentUser.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 LootParamsLootContext.Builder.paramsprivate final LootParamsLootContext.paramsMethods in net.minecraft.world.level.storage.loot that return LootParamsMethods in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifier and TypeMethodDescriptionvoidLootTable.fill(Container pContainer, LootParams pParams, long pSeed) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams pParams) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams pParams, long pSeed) voidLootTable.getRandomItems(LootParams pParams, long pSeed, Consumer<ItemStack> pOutput) voidLootTable.getRandomItems(LootParams pParams, Consumer<ItemStack> pOutput) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams pParams, RandomSource pRandom) voidLootTable.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) privateLootContext(LootParams pParams, RandomSource pRandom, HolderGetter.Provider pLootDataResolver, ResourceLocation queriedLootTableId)