Uses of Class
net.minecraft.loot.context.LootWorldContext
Packages that use LootWorldContext
Package
Description
-
Uses of LootWorldContext in net.minecraft.block
Method parameters in net.minecraft.block with type arguments of type LootWorldContextModifier and TypeMethodDescriptionprotected static booleanBlock.generateLoot(ServerWorld world, RegistryKey<LootTable> lootTable, Function<LootWorldContext.Builder, LootWorldContext> contextFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) -
Uses of LootWorldContext in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type LootWorldContextModifier and TypeMethodDescriptiondefault voidEquipmentHolder.setEquipmentFromTable(EquipmentTable equipmentTable, LootWorldContext parameters) default voidEquipmentHolder.setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootWorldContext parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default voidEquipmentHolder.setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootWorldContext parameters, Map<EquipmentSlot, Float> slotDropChances) Method parameters in net.minecraft.entity with type arguments of type LootWorldContextModifier and TypeMethodDescriptionprotected booleanLivingEntity.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 LootWorldContextMobEntity.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) voidLootTable.generateLoot(LootWorldContext parameters, long seed, Consumer<ItemStack> lootConsumer) voidLootTable.generateLoot(LootWorldContext parameters, Consumer<ItemStack> lootConsumer) LootTable.generateLoot(LootWorldContext parameters, Random random) voidLootTable.generateUnprocessedLoot(LootWorldContext parameters, Consumer<ItemStack> lootConsumer) voidLootTable.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 LootWorldContextLootContext.Builder.worldContextprivate final LootWorldContextLootContext.worldContextMethods 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 intLootCommand.getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootWorldContext lootContextParameters, LootCommand.Target constructor)