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 lootParams, LootCommand.DropConsumer output) -
Uses of LootParams in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return LootParamsModifier and TypeMethodDescriptionprivate LootParamsMob.createEquipmentParams(ServerLevel serverLevel) Methods in net.minecraft.world.entity with parameters of type LootParamsModifier and TypeMethodDescriptiondefault voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, long optionalLootTableSeed, Map<EquipmentSlot, Float> dropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, Map<EquipmentSlot, Float> dropChances) default voidEquipmentUser.equip(EquipmentTable equipment, LootParams lootParams) Method parameters in net.minecraft.world.entity with type arguments of type LootParamsModifier and TypeMethodDescriptionprotected booleanLivingEntity.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) -
Uses of LootParams in net.minecraft.world.level.block
Method parameters in net.minecraft.world.level.block with type arguments of type LootParamsModifier and TypeMethodDescriptionprotected static booleanBlock.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) -
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 optionalRandomSeed) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params, long optionalLootTableSeed) voidLootTable.getRandomItems(LootParams params, long optionalLootTableSeed, Consumer<ItemStack> output) voidLootTable.getRandomItems(LootParams params, Consumer<ItemStack> output) it.unimi.dsi.fastutil.objects.ObjectArrayList<ItemStack> LootTable.getRandomItems(LootParams params, RandomSource randomSource) voidLootTable.getRandomItemsRaw(LootParams params, Consumer<ItemStack> output) Deprecated.Constructors in net.minecraft.world.level.storage.loot with parameters of type LootParamsModifierConstructorDescriptionBuilder(LootParams params) privateLootContext(LootParams params, RandomSource random, HolderGetter.Provider lootDataResolver) privateLootContext(LootParams params, RandomSource random, HolderGetter.Provider p_287619_, Identifier queriedLootTableId)