Uses of Class
net.minecraft.loot.context.LootContext.Builder
Packages that use LootContext.Builder
Package
Description
-
Uses of LootContext.Builder in net.minecraft.block
Methods in net.minecraft.block with parameters of type LootContext.BuilderModifier and TypeMethodDescriptionstatic void
Block.dropStacks
(BlockState state, LootContext.Builder lootContext) AbstractBlock.AbstractBlockState.getDroppedStacks
(LootContext.Builder builder) AbstractBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Deprecated.BeehiveBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Returns the block's dropped item stacks.FluidBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Returns the block's dropped item stacks.PistonExtensionBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Returns the block's dropped item stacks.ShulkerBoxBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Returns the block's dropped item stacks.WallPlayerSkullBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Returns the block's dropped item stacks. -
Uses of LootContext.Builder in net.minecraft.entity
Methods in net.minecraft.entity that return LootContext.BuilderModifier and TypeMethodDescriptionprotected LootContext.Builder
LivingEntity.getLootContextBuilder
(boolean causedByPlayer, DamageSource source) -
Uses of LootContext.Builder in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return LootContext.BuilderModifier and TypeMethodDescriptionprotected LootContext.Builder
MobEntity.getLootContextBuilder
(boolean causedByPlayer, DamageSource source) -
Uses of LootContext.Builder in net.minecraft.loot.context
Methods in net.minecraft.loot.context that return LootContext.BuilderModifier and TypeMethodDescriptionLootContext.Builder.luck
(float luck) LootContext.Builder.optionalParameter
(LootContextParameter<T> key, T value) LootContext.Builder.parameter
(LootContextParameter<T> key, T value) LootContext.Builder.putDrop
(Identifier id, LootContext.Dropper value) LootContext.Builder.random
(long seed)
AbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder)
instead.