Name | has_friction |
Object | EntityTag |
Input | ElementTag(Boolean) |
Related Tags | <EntityTag.has_friction> Returns an entity's friction state if one has been set.
|
Description | Forces an entity into a friction state, so it either always or never experiences friction.
An entity with no friction will move in a direction forever until its velocity is changed or it impacts a block. Does not work with players. Provide empty input to reset an entity back to its vanilla friction behavior. |
Generated Example |
|
Group | properties |
Requires | Paper |
Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityFriction.java#L67 |