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> 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 LootParamsMob.createEquipmentParams(ServerLevel level) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault voidEquipmentUser.equip(ResourceKey<LootTable> equipmentLootTable, LootParams params, long seed, Map<EquipmentSlot, Float> slotDropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> equipmentLootTable, LootParams params, Map<EquipmentSlot, Float> slotDropChances) default voidEquipmentUser.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 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 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) voidLootTable.getRandomItems(LootParams params, long seed, Consumer<ItemStack> output) voidLootTable.getRandomItems(LootParams params, Consumer<ItemStack> output) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params, RandomSource random) voidLootTable.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) privateLootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver, ResourceLocation queriedLootTableId)