LogicUsing Conditions
Standing on Block Condition
Check the material of the block a player is standing on.
The Standing on Block Condition checks if the block directly beneath a player's feet is of a specific material.
Configuration
- Block Type: The material you want to check for (e.g.,
GOLD_BLOCK,DIAMOND_BLOCK).
Use Cases
- Creating jump pads that only activate when standing on a slime block.
- A trap that triggers when a player steps on a cracked stone brick.
- Safe zones that are marked with a specific color of wool.
Example: A Launch Pad
You want to launch a player into the air when they step on a slime block.
- Event: A
Player Enter Regionevent that covers the area with the launch pads. - Action:
Conditionalaction. - Configuration:
- Condition:
Standing on Block Condition- Block Type:
SLIME_BLOCK
- Block Type:
- If Actions:
- A
Velocityaction to apply a strong upward velocity to the player.
- A
- Condition: