Skip to content

Entity Velocity

Provides the velocity of the entity.

Type ID: kaya:entity/velocity

Format

Field Type Default Description
entity Entity Provider The entity to get the velocity from.

Example

{
    "type": "kaya:entity/velocity",
    "entity": "actor"
}

This example provides the velocity of the entity provided by the kaya:actor_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.