|
|
Mechanic: Set Gravity
|
|
|
=====================
|
|
|
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
Sets whether gravity affects the target entity.
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
## Attributes:
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|-------------------------------------------------|---------------|
|
|
|
| gravity | g | Sets whether the entity uses gravity (boolean). | true |
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
|
|
|
Skills:
|
|
|
## Examples:
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- setgravity{g=false} @self ~onSpawn
|
|
|
- setusegravity{g=false} @self ~onSpawn
|
|
|
- ...
|
|
|
``` |
|
|
\ No newline at end of file |