Skip to content

Actions

Actions are things that happen once, for example running inside an action ability or when a beam hits something. These are the actions Argon adds.

3 listed · Argon 1.1.0

Directional Leap

IDargon:directional_leap
Like palladium:leap, but sets the velocity to your look direction scaled by the velocity modifier instead of adding to it, so the leap always goes where you aim.

KeyTypeDescriptionRequiredFallback
velocity_modifierFloatThe multiplier applied to the entity's look direction when this action runs.✓/

{
  "type": "argon:directional_leap",
  "velocity_modifier": 2
}

Jump

IDargon:jump
Launches the entity straight up like a jump, keeping its sideways movement. A normal jump is about 0.42 and gets roughly 1.25 blocks, 0.8 gets roughly 4.5.

KeyTypeDescriptionRequiredFallback
velocity(Dynamic) ValueThe upward speed, in blocks per tick.✓/
additiveBooleanWhether the speed is added to the entity's current vertical speed instead of replacing it.✗false

{
  "type": "argon:jump",
  "velocity": 0.8
}

Ride

IDargon:ride
Mounts the entity you look at, once. "ride_target" makes you ride it, "target_rides_player" puts it on top of you instead (toggled off if triggered again).

KeyTypeDescriptionRequiredFallback
moderide_target
target_rides_player
Which way to mount: "ride_target" (user rides target) or "target_rides_player" (target rides user).✓/
rangeDoubleHow far away, along the user's line of sight, an entity can be to be targeted.✓/

{
  "type": "argon:ride",
  "mode": "ride_target",
  "range": 8
}