Uses of Class
net.minecraft.loot.context.LootWorldContext
Packages that use LootWorldContext
Package
Description
-
Uses of LootWorldContext in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type LootWorldContextModifier and TypeMethodDescriptiondefault void
EquipmentHolder.setEquipmentFromTable
(EquipmentTable equipmentTable, LootWorldContext parameters) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
EquipmentHolder.setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, Map<EquipmentSlot, Float> slotDropChances) Method parameters in net.minecraft.entity with type arguments of type LootWorldContextModifier and TypeMethodDescriptionprotected boolean
LivingEntity.forEachGeneratedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) -
Uses of LootWorldContext in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return LootWorldContextModifier and TypeMethodDescriptionprivate LootWorldContext
MobEntity.createEquipmentLootParameters
(ServerWorld world) -
Uses of LootWorldContext in net.minecraft.loot
Methods in net.minecraft.loot with parameters of type LootWorldContextModifier and TypeMethodDescriptionLootTable.generateLoot
(LootWorldContext parameters) LootTable.generateLoot
(LootWorldContext parameters, long seed) void
LootTable.generateLoot
(LootWorldContext parameters, long seed, Consumer<ItemStack> lootConsumer) void
LootTable.generateLoot
(LootWorldContext parameters, Consumer<ItemStack> lootConsumer) LootTable.generateLoot
(LootWorldContext parameters, Random random) void
LootTable.generateUnprocessedLoot
(LootWorldContext parameters, Consumer<ItemStack> lootConsumer) void
LootTable.supplyInventory
(Inventory inventory, LootWorldContext parameters, long seed) -
Uses of LootWorldContext in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as LootWorldContextModifier and TypeFieldDescriptionprivate final LootWorldContext
LootContext.Builder.worldContext
private final LootWorldContext
LootContext.worldContext
Methods in net.minecraft.loot.context that return LootWorldContextConstructors in net.minecraft.loot.context with parameters of type LootWorldContextModifierConstructorDescriptionBuilder
(LootWorldContext worldContext) (package private)
LootContext
(LootWorldContext worldContext, Random random, RegistryEntryLookup.RegistryLookup lookup) -
Uses of LootWorldContext in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type LootWorldContextModifier and TypeMethodDescriptionprivate static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootWorldContext lootContextParameters, LootCommand.Target constructor)