Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.entity | |
net.minecraft.world.storage.loot |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemStack> |
SkullWallPlayerBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
BeehiveBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
ShulkerBoxBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
MovingPistonBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
FlowingFluidBlock.getDrops(BlockState state,
LootContext.Builder builder) |
java.util.List<ItemStack> |
Block.getDrops(BlockState state,
LootContext.Builder builder)
Deprecated.
|
java.util.List<ItemStack> |
BlockState.getDrops(LootContext.Builder builder) |
Modifier and Type | Method and Description |
---|---|
protected LootContext.Builder |
LivingEntity.getLootContextBuilder(boolean p_213363_1_,
DamageSource damageSourceIn) |
protected LootContext.Builder |
MobEntity.getLootContextBuilder(boolean p_213363_1_,
DamageSource damageSourceIn) |
Modifier and Type | Method and Description |
---|---|
LootContext.Builder |
LootContext.Builder.withDynamicDrop(ResourceLocation p_216017_1_,
LootContext.IDynamicDropProvider p_216017_2_) |
LootContext.Builder |
LootContext.Builder.withLuck(float luckIn) |
<T> LootContext.Builder |
LootContext.Builder.withNullableParameter(LootParameter<T> parameter,
T value) |
<T> LootContext.Builder |
LootContext.Builder.withParameter(LootParameter<T> parameter,
T value) |
LootContext.Builder |
LootContext.Builder.withRandom(java.util.Random randomIn) |
LootContext.Builder |
LootContext.Builder.withSeed(long seed) |
LootContext.Builder |
LootContext.Builder.withSeededRandom(long seed,
java.util.Random p_216020_3_) |