Uses of Class
net.minecraft.loot.context.LootWorldContext
Package
Description
-
Uses of LootWorldContext in net.minecraft.entity
Modifier 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) Modifier 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
Modifier and TypeMethodDescriptionprivate LootWorldContext
MobEntity.createEquipmentLootParameters
(ServerWorld world) -
Uses of LootWorldContext in net.minecraft.loot
Modifier 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
Modifier and TypeFieldDescriptionprivate final LootWorldContext
LootContext.Builder.worldContext
private final LootWorldContext
LootContext.worldContext
ModifierConstructorDescriptionBuilder
(LootWorldContext worldContext) (package private)
LootContext
(LootWorldContext worldContext, Random random, RegistryEntryLookup.RegistryLookup lookup) -
Uses of LootWorldContext in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootWorldContext lootContextParameters, LootCommand.Target constructor)