Uses of Class
net.minecraft.loot.context.LootWorldContext.Builder
-
Uses of LootWorldContext.Builder in net.minecraft.block
Modifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.getDroppedStacks
(LootWorldContext.Builder builder) AbstractBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.BeehiveBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.DecoratedPotBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.FluidBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.PistonExtensionBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.ShulkerBoxBlock.getDroppedStacks
(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks. -
Uses of LootWorldContext.Builder in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected boolean
LivingEntity.forEachGeneratedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) -
Uses of LootWorldContext.Builder in net.minecraft.loot.context
Modifier and TypeMethodDescriptionLootWorldContext.Builder.add
(ContextParameter<T> parameter, T value) LootWorldContext.Builder.addDynamicDrop
(Identifier id, LootWorldContext.DynamicDrop dynamicDrop) LootWorldContext.Builder.addOptional
(ContextParameter<T> parameter, T value) LootWorldContext.Builder.luck
(float luck)