Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for moving piston in Minecraft is shown below:
The Moving Piston item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.
Find a table of all blockstates for the Moving Piston block below.
|Block State Name||Type||Values|
|facing||direction ?|| |
|type||enum ?|| |
The piston extension block is not obtainable in vanilla Minecraft. It is a block added in Minecraft 1.13, but is invisible, cannot be broken easily (you have to use commands/TNT) and is not solid.
|Max Stack Size||64|
|Min / Max State IDs||1099 - 1110|