Uses of Class
net.minecraft.loot.context.LootContextParameterSet
Package
Description
-
Uses of LootContextParameterSet in net.minecraft.entity
Modifier and TypeMethodDescriptiondefault void
EquipmentHolder.setEquipmentFromTable
(EquipmentTable equipmentTable, LootContextParameterSet parameters) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootContextParameterSet parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootContextParameterSet parameters, Map<EquipmentSlot, Float> slotDropChances) -
Uses of LootContextParameterSet in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprivate LootContextParameterSet
MobEntity.createEquipmentLootParameters
(ServerWorld world) -
Uses of LootContextParameterSet in net.minecraft.loot
Modifier and TypeMethodDescriptionLootTable.generateLoot
(LootContextParameterSet parameters) LootTable.generateLoot
(LootContextParameterSet parameters, long seed) void
LootTable.generateLoot
(LootContextParameterSet parameters, long seed, Consumer<ItemStack> lootConsumer) void
LootTable.generateLoot
(LootContextParameterSet parameters, Consumer<ItemStack> lootConsumer) LootTable.generateLoot
(LootContextParameterSet parameters, Random random) void
LootTable.generateUnprocessedLoot
(LootContextParameterSet parameters, Consumer<ItemStack> lootConsumer) void
LootTable.supplyInventory
(Inventory inventory, LootContextParameterSet parameters, long seed) -
Uses of LootContextParameterSet in net.minecraft.loot.context
Modifier and TypeFieldDescriptionprivate final LootContextParameterSet
LootContext.Builder.parameters
private final LootContextParameterSet
LootContext.parameters
Modifier and TypeMethodDescriptionLootContextParameterSet.Builder.build
(LootContextType contextType) ModifierConstructorDescriptionBuilder
(LootContextParameterSet parameters) (package private)
LootContext
(LootContextParameterSet parameters, Random random, RegistryEntryLookup.RegistryLookup lookup) -
Uses of LootContextParameterSet in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootContextParameterSet lootContextParameters, LootCommand.Target constructor)