MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / dropBlockAsItem

Method dropBlockAsItem

src/main/java/net/minecraft/block/Block.java:615–618  ·  view source on GitHub ↗

Spawn this Block's drops into the World as EntityItems @param forture the level of the Fortune enchantment on the player's tool

(World worldIn, BlockPos pos, IBlockState state, int forture)

Source from the content-addressed store, hash-verified

613 * @param forture the level of the Fortune enchantment on the player's tool
614 */
615 public final void dropBlockAsItem(World worldIn, BlockPos pos, IBlockState state, int forture)
616 {
617 this.dropBlockAsItemWithChance(worldIn, pos, state, 1.0F, forture);
618 }
619
620 /**
621 * Spawns this Block's drops into the World as EntityItems.

Callers 15

harvestBlockMethod · 0.95
doMoveMethod · 0.95
destroyBlockMethod · 0.95
onNeighborBlockChangeMethod · 0.80
func_181091_eMethod · 0.80
onNeighborBlockChangeMethod · 0.80
onNeighborBlockChangeMethod · 0.80
onNeighborBlockChangeMethod · 0.80
checkForDropMethod · 0.80
checkForDropMethod · 0.80
onNeighborBlockChangeMethod · 0.80
checkAndDropBlockMethod · 0.80

Calls 1

Tested by

no test coverage detected