Uses of Class
net.minecraft.world.level.storage.loot.LootContext.Builder
Packages that use LootContext.Builder
Package
Description
-
Uses of LootContext.Builder in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return LootContext.BuilderModifier and TypeMethodDescriptionprotected LootContext.BuilderLivingEntity.createLootContext(boolean p_21105_, DamageSource p_21106_)protected LootContext.BuilderMob.createLootContext(boolean p_21453_, DamageSource p_21454_) -
Uses of LootContext.Builder in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type LootContext.BuilderModifier and TypeMethodDescriptionstatic voidBlock.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
Methods in net.minecraft.world.level.block.piston with parameters of type LootContext.BuilderModifier and TypeMethodDescriptionMovingPistonBlock.getDrops(BlockState p_60089_, LootContext.Builder p_60090_) -
Uses of LootContext.Builder in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type LootContext.BuilderModifier 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
Methods in net.minecraft.world.level.storage.loot that return LootContext.BuilderModifier 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_)