Tutorials Falling blocks


Info

Falling Block
Sand.pngRed Sand.pngGravel.pngWhite Concrete Powder.pngDragon Egg.pngAnvil.png
Internal ID

PC: 21
PE: 66

Network ID

PC: 70

Entity ID

falling_block

The falling_block entity A player standing in front of a large group of entities The hitboxes of several entities. Note the blue line which points to the direction the entity is "facing." Entities encompass all dynamic, moving objects minecraft represents a block with entity physics applied. It has various applications, ranging from simple displays of falling objects to advanced command block creations.

Commands

The most basic falling_block command can be applied by typing the following into a command block:

/summon falling_block ~ ~ ~ {TileID:1}

This command summons in a falling_block entity in the same (x,y,z) coordinates as the command block, marked by ~ ~ ~. Also, it is a stone block, as a stone block has a tile ID number of 1. Alternatively, Block can be used instead of TileID. Despite changes from numeric IDs to letter IDs in Minecraft 1.8 1.8 Official name Bountiful Update Type Release Release date Sep. 2, 2014 1] Development versions View all Snapshots 14w02a 14w02b 14w02c 14w03a 14w03b 14w04a 14w04b 14w05a 14w05b 14w06a 14w06b 14w07a 14w08a 14w10a 14w10b 14w10c 14w11a minecraft , the tile IDs remain in numeric form. To spawn the block in another location, add numbers after the tildes, for example ~5 ~10 ~-3.

Extra data can be inserted in the NBT (Named Binary Tag) to modify the how long in seconds the block remains in the air. This NBT is Time. Time stands for the time (in ticks) for how long the falling_block has existed. If 0, the entity despawns, if 1 or greater, will continue ticking up, until it reaches its maximum lifetime of 600 ticks, or 30 seconds, at which point it turns into a dropped item. It will also turn into an item if it has existed for more than 100 ticks (5 seconds) and is outside the build limit (above y=256 or below y=1). Adding a value of time for the block will cause the block to assume a physical form when coming in contact with the ground, just like a normal sand block falling downwards. Ensure that the different data values are separated by commas:

/summon falling_block ~ ~ ~ {TileID:1,Time:1}

/summon falling_block ~ ~ ~ {Block:"minecraft:bedrock",Time:1}

/summon falling_block ~ ~ ~ {Block:netherrack,Time:1b}

In order to set the metadata of the block, use the Data: tag. (eg. /summon falling_block ~ ~ ~ {Block: stone, Data: 1, Time: 1})

If the falling_block block spawns at the exact same coordinates as another block (if it would spawn inside a block), you will get a message: "Unable to summon object."

falling_block does not necessarily need to fall. For an explosion-like feel, or even a simple bounce, falling_block`s motion path can be altered. Note the use of square brackets for the Motion tag:

/summon falling_block ~ ~2 ~ {TileID:1,Time:1,Motion:0:0.0d,1:0.3d,2:0d}

The maximum lifetime ⃢₀ₓ 30 seconds ⃢₀ₓ cannot realistically be reached from {Time:1} unless the falling_block is riding another entity using the `Passengers` NBT (in which case it isn`t falling, but its time is still ticking). falling_block can also reach the maximum lifetime if given the NoGravity tag.

falling_block can be used to summon multiple blocks using the `Passengers` NBT. Summoning multiple command blocks is the way you make `one block commands`.