Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-79870

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • Minecraft 1.8.4, Minecraft 15w44b, Minecraft 16w36a, Minecraft 1.11.2, Minecraft 1.13.1, 1.15.2, 1.16 Pre-release 5
    • None
    • Confirmed
    • Entities
    • Low

    Description

      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();
      }
      

      Attachments

        1. falling_sand drop time.nbt
          1 kB
          [Mod] SunCat
        2. FallingSand Y above 256 (1.8.4).mp4
          847 kB
          [Mod] Marcono1234

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcono1234 [Mod] Marcono1234
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: