|
=============
|
|
## Description
|
|
|
|
|
|
|
|
|
|
## Description:
|
|
|
|
Toggles a lever on and off at the supplied coordinates.
|
|
Toggles a lever on and off at the supplied coordinates.
|
|
|
|
|
|
The lever will switch back to the starting position after a set amount
|
|
The lever will switch back to the starting position after a set amount
|
|
of time. (Defaulting to 20 ticks/1 second).
|
|
of time. (Defaulting to 20 ticks/1 second).
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
## Attributes
|
|
|-----------|---------|-------------------------------------------------------------|---------------|
|
|
| Attribute | Aliases | Description | Default |
|
|
| duration | d | The duration (in ticks) the lever should remain toggled on. | 20 |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| x | | The X coordinate of the button. | 0 |
|
|
| duration | d | The duration (in ticks) the lever should remain toggled on. | 20 |
|
|
| y | | The Y coordinate of the button. | 0 |
|
|
| x | | The X coordinate of the button. | 0 |
|
|
| z | | The Z coordinate of the button. | 0 |
|
|
| y | | The Y coordinate of the button. | 0 |
|
|
|
|
| z | | The Z coordinate of the button. | 0 |
|
|
|
|
|
|
|
|
|
|
## Examples:
|
|
## Examples
|
|
|
|
|
|
Toggles a lever placed at the given coordinates.
|
|
Toggles a lever placed at the given coordinates.
|
|
```yaml
|
|
```yaml
|
|
OpenSecretDoor:
|
|
OpenSecretDoor:
|
... | | ... | |