Uses of Class
net.minecraft.loot.context.LootContext.Builder
Package
Description
-
Uses of LootContext.Builder in net.minecraft.block
Modifier 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
Modifier and TypeMethodDescriptionprotected LootContext.Builder
LivingEntity.getLootContextBuilder
(boolean causedByPlayer, DamageSource source) -
Uses of LootContext.Builder in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprotected LootContext.Builder
MobEntity.getLootContextBuilder
(boolean causedByPlayer, DamageSource source) -
Uses of LootContext.Builder in net.minecraft.loot.context
Modifier 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.