Add Velocity - apace100/origins-fabric GitHub Wiki
Entity Action. Adds velocity towards a specific direction.
Type ID: origins:add_velocity
Fields:
x
, float, default = 0: The amount of velocity to add on the x-axis.
y
, float, default = 0: The amount of velocity to add on the y-axis.
z
, float, default = 0: The amount of velocity to add on the z-axis.
space
, string, default = "world": The Space to perform the velocity addition in.
Example:
"entity_action": {
"type": "origins:add_velocity",
"y": 2
}
Launches the entity upwards into the air.