Mojira Archive
MC-79870

Falling block entity above Y 320 drops as item after 100 ticks

When you have FallingSand above Y 320 it drops really quick.

It appears that according to the wiki, this behavior is the case for y < 0 however I am not sure if this makes sense for y > 320

When Time goes above 600, or above 100 while the block is below Y=0, the entity is deleted.

Source

Code of /Client/src/net/minecraft/entity/item/EntityFallingBlock.java (MCP 1.8 name)

if (this.worldObj.getBlockState(var2).getBlock() != Blocks.piston_extension)
{
	//...
}
else if (this.fallTime > 100 && !this.worldObj.isRemote && (var2.getY() < 1 || var2.getY() > 256) || this.fallTime > 600)
{
	if (this.shouldDropItem && this.worldObj.getGameRules().getGameRuleBooleanValue("doTileDrops"))
	{
		this.entityDropItem(new ItemStack(var1, 1, var1.damageDropped(this.field_175132_d)), 0.0F);
	}

	this.setDead();
}

Unresolved

Marcono1234

2015-04-24, 06:56 PM

2024-08-12, 09:33 PM

8

7

Confirmed

Low

Platform

Entities

drop, entity, falling_block, item

Minecraft 1.8.4 - 1.21.1Minecraft 1.8.4, Minecraft 15w44b, Minecraft 16w36a, Minecraft 1.11.2, Minecraft 1.13.1, 1.15.2, 1.16 Pre-release 5, 1.21.1

-