give @p minecraft:diamond 1
- Block Type:
- Impulse
- Condition:
- Unconditional
- Redstone:
- Needs Redstone
Intermediate · 2 blocks
Press a button to give the nearest player one diamond, then apply Speed from a Chain Block.
What you need
Expected result
The nearest player receives 1 diamond and Speed I for 10 seconds.
Editable values
Change coordinates, text, range, or amounts; the commands below are regenerated by the real generator.
Placement direction
Configure one block at a time
The copy button copies only Command Input. Choose every other value in the Command Block screen.
Attach the button to the first Impulse Block.
give @p minecraft:diamond 1
Bedrock item ids don't always match Java's — double-check this item actually exists on Bedrock
Set the Chain Block to Conditional so it runs only when giving the diamond succeeds.
effect @p speed 10 0 false
If it does not work