Uses of Class
net.minecraft.loot.context.LootContext.Builder
Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.entity | |
net.minecraft.entity.mob | |
net.minecraft.loot.context |
-
Uses of LootContext.Builder in net.minecraft.block
Methods in net.minecraft.block with parameters of type LootContext.Builder Modifier and Type Method Description static void
Block. dropStacks(BlockState state, LootContext.Builder lootContext)
List<ItemStack>
AbstractBlock.AbstractBlockState. getDroppedStacks(LootContext.Builder builder)
List<ItemStack>
AbstractBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
Deprecated.List<ItemStack>
BeehiveBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
List<ItemStack>
FluidBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
List<ItemStack>
PistonExtensionBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
List<ItemStack>
ShulkerBoxBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
List<ItemStack>
WallPlayerSkullBlock. getDroppedStacks(BlockState state, LootContext.Builder builder)
-
Uses of LootContext.Builder in net.minecraft.entity
Methods in net.minecraft.entity that return LootContext.Builder Modifier and Type Method Description protected 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.Builder Modifier and Type Method Description protected 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.Builder Modifier and Type Method Description LootContext.Builder
LootContext.Builder. luck(float luck)
<T> LootContext.Builder
LootContext.Builder. optionalParameter(LootContextParameter<T> key, T value)
<T> LootContext.Builder
LootContext.Builder. parameter(LootContextParameter<T> key, T value)
LootContext.Builder
LootContext.Builder. putDrop(Identifier id, LootContext.Dropper value)
LootContext.Builder
LootContext.Builder. random(long seed)
LootContext.Builder
LootContext.Builder. random(long seed, Random random)
LootContext.Builder
LootContext.Builder. random(Random random)