Uses of Class
net.minecraft.world.level.storage.loot.LootContext.Builder
Package
Description
-
Uses of LootContext.Builder in net.minecraft.world.entity
Modifier and TypeMethodDescriptionprotected LootContext.Builder
LivingEntity.createLootContext
(boolean p_21105_, DamageSource p_21106_) protected LootContext.Builder
Mob.createLootContext
(boolean p_21453_, DamageSource p_21454_) -
Uses of LootContext.Builder in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic void
Block.dropResources
(BlockState p_152461_, LootContext.Builder p_152462_) BeehiveBlock.getDrops
(BlockState p_49636_, LootContext.Builder p_49637_) LiquidBlock.getDrops
(BlockState p_54720_, LootContext.Builder p_54721_) PlayerWallHeadBlock.getDrops
(BlockState p_55193_, LootContext.Builder p_55194_) ShulkerBoxBlock.getDrops
(BlockState p_56246_, LootContext.Builder p_56247_) -
Uses of LootContext.Builder in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionMovingPistonBlock.getDrops
(BlockState p_60089_, LootContext.Builder p_60090_) -
Uses of LootContext.Builder in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionBlockBehaviour.BlockStateBase.getDrops
(LootContext.Builder p_60725_) BlockBehaviour.getDrops
(BlockState p_60537_, LootContext.Builder p_60538_) Deprecated. -
Uses of LootContext.Builder in net.minecraft.world.level.storage.loot
Modifier and TypeMethodDescriptionLootContext.Builder.withDynamicDrop
(ResourceLocation p_78980_, LootContext.DynamicDrop p_78981_) LootContext.Builder.withLuck
(float p_78964_) LootContext.Builder.withOptionalParameter
(LootContextParam<T> p_78985_, T p_78986_) LootContext.Builder.withOptionalRandomSeed
(long p_78966_) LootContext.Builder.withOptionalRandomSeed
(long p_78968_, Random p_78969_) LootContext.Builder.withParameter
(LootContextParam<T> p_78973_, T p_78974_) LootContext.Builder.withRandom
(Random p_78978_)