Piston Command Examples
- Give 1 to nearest player:
/give @p minecraft:piston 1 - Give 1 to yourself:
/give @s minecraft:piston 1 - Give to a specific player:
/give PlayerName minecraft:piston 1 - Clear from inventory:
/clear @p minecraft:piston
What Is Piston Used For?
Redstone Dust
Send power from a switch or circuit to a piston.
Sticky Piston
Use the sticky version when the block also needs to be pulled back.
Lever
A lever is a simple manual piston trigger.
Redstone Repeater
Add delay and signal control to a piston circuit.
Piston FAQ
What is the item ID for Piston?
The item ID for Piston is minecraft:piston. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Piston?
Piston has the historical numerical ID 33, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:piston instead.
How do I give myself Piston in Minecraft?
Open the chat window and run /give @p minecraft:piston 1 to give the nearest player one Piston. Replace @p with a player name to target someone else.
How many Piston can stack in one slot?
Piston stacks up to 64 per inventory slot.
How do you craft Piston?
Piston is crafted on a crafting table with 3 cherry planks, 4 cobblestones, 1 iron ingot and 1 redstone dust, which yields 1 Piston.
What can you craft with Piston?
Piston is used to craft Sticky Piston.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .
