Changes
Page history
Update setgravity
authored
Oct 11, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
skills/mechanics/setgravity.md
View page @
78ff31de
...
@@ -5,7 +5,7 @@ Sets whether gravity affects the target entity.
...
@@ -5,7 +5,7 @@ Sets whether gravity affects the target entity.
## Attributes
## Attributes
| Attribute | Aliases | Description | Default |
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
|-----------|-----------|----------------------------------------------------------------------|---------|
| gravity | g
| Sets whether the entity uses gravity
(boolean)
| true |
| gravity | g
, b, bool, u, use
| Sets whether the entity uses gravity | true |
## Examples
## Examples
...
@@ -14,4 +14,8 @@ Sets whether gravity affects the target entity.
...
@@ -14,4 +14,8 @@ Sets whether gravity affects the target entity.
-
setgravity{g=false} @self ~onSpawn
-
setgravity{g=false} @self ~onSpawn
-
setusegravity{g=false} @self ~onSpawn
-
setusegravity{g=false} @self ~onSpawn
-
...
-
...
```
```
\ No newline at end of file
## Aliases
-
[x] setusegravity
\ No newline at end of file