Skip to content

Conditions

Conditions are checks that return true or false. They are used in ability states, targets, visibility rules and anywhere else a condition is accepted. Every condition that comes with Argon is listed below.

61 listed · Argon 1.1.0

Ability Bar Active

IDargon:ability_bar_active
True while this ability sits in a slot of the given argon:ability_bar. Uses the crouch variant of the slot if it has one and the entity is crouching.

KeyTypeDescriptionRequiredFallback
ability_barStringThe argon:ability_bar ability to check, e.g. "fsang:marvel/mutant/reality_warping#my_bar". Left out, any bar of any power counts.✗

{
  "type": "argon:ability_bar_active",
  "ability_bar": "argon:example#my_bar"
}

Ability Bar Active (Crouch)

IDargon:ability_bar_active_crouch
True while the entity is crouching and this ability sits in a crouch slot of the given argon:ability_bar.

KeyTypeDescriptionRequiredFallback
ability_barStringThe argon:ability_bar ability to check, e.g. "fsang:marvel/mutant/reality_warping#my_bar". Left out, any bar of any power counts.✗

{
  "type": "argon:ability_bar_active_crouch",
  "ability_bar": "argon:example#my_bar"
}

Ability Enabled Activation

IDargon:ability_enabled_activation
Like the vanilla "Ability enabled" condition, but sticky. Once the ability is seen enabled, it keeps passing for the given time after it stops.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe ability to watch for being enabled.✓/
durationInteger,
Time String ("40s", "2m", etc.)
How long this stays true after the referenced ability was last seen enabled.✓/

{
  "type": "argon:ability_enabled_activation",
  "ability": "example:power#some_ability",
  "duration": 100
}

Ability Type Enabled Activation

IDargon:ability_type_enabled_activation
Like the vanilla "Ability type enabled" condition, but sticky. Once any ability of "ability_type" is seen enabled, it keeps passing for the given time after they stop.

KeyTypeDescriptionRequiredFallback
ability_typeAbility Type ID(s) / TagThe ability type(s) to watch for being enabled.✓/
durationInteger,
Time String ("40s", "2m", etc.)
How long this stays true after an ability of a matching type was last seen enabled.✓/

{
  "type": "argon:ability_type_enabled_activation",
  "ability_type": [
    "argon:effect"
  ],
  "duration": "5s"
}

Advancement

IDargon:advancement
Checks if the user has a given advancement. Server only, so it is always false on the client. Don't use it in a render_layer's conditions.

KeyTypeDescriptionRequiredFallback
advancementIdentifierThe id of the advancement the user must have completed.✓/

{
  "type": "argon:advancement",
  "advancement": "minecraft:story/mine_diamond"
}

Beam Firing

IDargon:beam_firing
True while a charged Energy Beam is showing a shot, and for "lead" ticks before the next shot of a multi-shot beam. Use it to raise an arm for each shot.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe Energy Beam ability that has a "charge" setting.✓/
leadInteger,
Time String ("40s", "2m", etc.)
How long before the next shot of a multi-shot beam this turns true.✗0
durationInteger,
Time String ("40s", "2m", etc.)
If set, only true for this long after each shot instead of the whole time it shows.✗/

{
  "type": "argon:beam_firing",
  "ability": "example:power#some_beam",
  "lead": 2,
  "duration": 3
}

Biome

IDargon:biome
Checks if the user is currently standing in one of the specified biomes.

KeyTypeDescriptionRequiredFallback
biomesBiome ID(s) / TagThe biome(s) to check for, as explicit biome IDs, a tag ("#namespace:tag"), or a mix of both.✓/

{
  "type": "argon:biome",
  "biomes": [
    "minecraft:desert",
    "#minecraft:is_nether"
  ]
}

Biome Swap Area

IDargon:biome_swap_area
Checks if the user stands inside an active argon:biome_swap area, optionally one made with a specific biome.

KeyTypeDescriptionRequiredFallback
biomeIdentifierA biome the area must have been made with to count. Otherwise any active area counts.✗/

{
  "type": "argon:biome_swap_area",
  "biome": "minecraft:desert"
}

Block Below

IDargon:block_below
Checks if the block directly beneath the user's feet matches "blocks". Fluids count as blocks, so "minecraft:water" is true while standing on water, for example with fluid walking.

KeyTypeDescriptionRequiredFallback
blocksBlock ID(s) / TagThe block(s) to look for, as explicit block IDs, a tag ("#namespace:tag"), or a mix of both.✓/
distanceDoubleHow many blocks below the feet are searched. 0.5 only checks the block the user is standing on, a larger value also passes while hovering above a matching block.✗0.5
require_groundBooleanIf true, the user also has to be on the ground (or on a fluid they can walk on).✗false

{
  "type": "argon:block_below",
  "require_ground": true,
  "blocks": [
    "#minecraft:sand"
  ]
}

Carriable

IDargon:carriable
True while you look at something palladium:carry could pick up: any other living entity within "range" blocks. Handy for showing a prompt only when there is a target.

KeyTypeDescriptionRequiredFallback
rangeDoubleHow far along the look direction to search, in blocks. Left out, it uses the referenced argon:carry ability's range, or 3 blocks without one.✗/
abilityAbility ReferenceAn argon:carry ability ("namespace:power#ability") to check for. A target only counts if that ability could grab it: clear line of sight, not already carried, allowed by allow_mobs / allow_players. Left out, Palladium's own carry rules apply.✗/

{
  "type": "argon:carriable",
  "range": 2
}

Carried

IDargon:carried
True while the entity is held by someone's "argon:carry" ability (the carrier's side is "argon:carrying"). Works for any living entity that can be carried.
{
  "type": "argon:carried"
}

Carrying

IDargon:carrying
True while the entity holds something with argon:carry. Unlike palladium:carrying, which only sees palladium:carry, this works for any living carrier.
{
  "type": "argon:carrying"
}

Chat Activation

IDargon:chat_activation
Passes briefly after the player says one of the phrases in chat. Works like a key bind in activation mode, but the key is a spoken incantation. Put it straight in the enabling condition. Inside an "and" it only runs while the conditions before it pass.

KeyTypeDescriptionRequiredFallback
incantationIdentifierA spell definition from data//incantations/.json. It holds the phrases for each mastery tier, the always-accepted fallback phrases and the cast thresholds. Casting counts toward its mastery.✗/
phrasesstring[]Extra fixed phrases that always work, whatever the mastery tier. Letters are compared without case, accents or punctuation, and Greek letters are read as their Latin spelling.✗[]
durationInteger,
Time String ("40s", "2m", etc.)
How long it stays true after the phrase is said.✗1
cooldownInteger,
Time String ("40s", "2m", etc.)
The cooldown the ability gets after a cast. It uses the ability's cooldown component, so cooldown control abilities and the cooldown condition work with it.✗0


Chat Toggled

IDargon:chat_toggled
Turns on when the player says a start phrase in chat. Stays on until they say a stop phrase or the maximum duration runs out. The cooldown starts when it turns off. Put it straight in the enabling condition.

KeyTypeDescriptionRequiredFallback
incantationIdentifierA spell definition from data//incantations/.json. Its tiers hold the start phrases and its "stop" list holds the stop phrases. Casting counts toward its mastery.✗/
phrasesstring[]Extra start phrases that always work, whatever the mastery tier.✗[]
stop_phrasesstring[]Extra phrases that turn it off.✗[]
cooldownInteger,
Time String ("40s", "2m", etc.)
Cooldown the ability gets once it turns off.✗0
max_durationInteger,
Time String ("40s", "2m", etc.)
Turns itself off after this long. 0 means it never does.✗0


Danger Sense Active

IDargon:danger_sense_active
Checks if the user has an enabled argon:danger_sense ability that is detecting at least one danger: a nearby hostile mob or a player who recently hurt the user.
{
  "type": "argon:danger_sense_active"
}

Danger Sense Count

IDargon:danger_sense_count
Checks how many dangers the user's enabled argon:danger_sense ability is detecting (the largest count if there are several). Useful for triggering an overload once enough threats are around.

KeyTypeDescriptionRequiredFallback
minIntegerThe fewest detected dangers that still pass.✗1
maxIntegerThe most detected dangers that still pass.✗2147483647

{
  "type": "argon:danger_sense_count",
  "min": 8
}

Dodge Direction

IDargon:dodge_direction
Checks if the referenced dodge ability is showing its dodge pose and the dodge went mostly in the given direction relative to where the entity faces. Diagonals count as whichever axis is stronger.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe dodge ability to check.✓/
directionforward
back
left
right
The direction to check.✓/

{
  "type": "argon:dodge_direction",
  "ability": "example:power#dodge",
  "direction": "forward"
}

Dodging

IDargon:dodging
Checks if the referenced dodge ability is actively showing its dodge pose right now.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe dodge ability to check.✓/

{
  "type": "argon:dodging",
  "ability": "example:power#dodge"
}

Durability

IDargon:durability
Checks if the item worn or held in the given slot has durability left, as a percentage, between min and max. Fails for an empty slot or an item that can't be damaged.

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Which slot to check, e.g. an armor slot.✗chest
minDoubleThe minimum remaining durability percentage required (0-100).✗0.0
maxDoubleThe maximum remaining durability percentage allowed (0-100).✗100.0

{
  "type": "argon:durability",
  "max": 20
}

Falling

IDargon:falling
Checks if the user is in the air and moving downward, so not on the ground and not rising.
{
  "type": "argon:falling"
}

Flight Speed Percent

IDargon:flight_speed_percent
True while the referenced argon:flight_speed_adjuster dial is within min and max (inclusive). The flight version of argon:movement_speed_percent.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe flight speed adjuster ability whose dial to check.✓/
minIntegerThe lowest dial value that passes (inclusive). Unset means no lower limit.✗/
maxIntegerThe highest dial value that passes (inclusive). Unset means no upper limit.✗/

{
  "type": "argon:flight_speed_percent",
  "ability": "example:power#flight_speed_adjuster",
  "min": 25,
  "max": 100
}

Grappling

IDargon:grappling
Checks if the referenced grapple ability (argon:grapple or palladium:grapple) is currently grappled to a block, an entity or either, depending on the mode.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe grapple ability to check (argon:grapple or palladium:grapple).✓/
modeblock
entity
either
Which kind of grapple to check for.✗EITHER

{
  "type": "argon:grappling",
  "ability": "example:power#grapple"
}

Ground Distance

IDargon:ground_distance
Checks if the user is on the ground or within max_distance blocks of solid ground directly below.

KeyTypeDescriptionRequiredFallback
max_distanceDoubleThe maximum distance, in blocks, to the ground below the user.✓/

{
  "type": "argon:ground_distance",
  "max_distance": 3
}

Has Energy

IDargon:has_energy
Checks if the item in the given slot has stored energy between min and max. Infinite and creative energy items always pass.

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Which slot to look for the energy-storing item in.✗curios:hands
minIntegerThe minimum stored energy required.✗0
maxIntegerThe maximum stored energy allowed.✗2147483647

{
  "type": "argon:has_energy",
  "min": 1000,
  "max": 5000
}

Has Fluid

IDargon:has_fluid
Checks whether the fluid item in the given slot has a stored fluid amount between min and max.

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Which slot to look for the fluid-storing item in.✗curios:hands
minIntegerThe minimum stored fluid amount required.✗0
maxIntegerThe maximum stored fluid amount allowed.✗2147483647

{
  "type": "argon:has_fluid",
  "min": 100,
  "max": 500
}

Has Input

IDargon:has_input
Checks if the user is holding a movement key (forward, back, left or right). Unlike palladium:has_movement_input it also works while a world is loading and in single player's built-in server.
{
  "type": "argon:has_input"
}

Has Item

IDargon:has_item
Checks if the user has at least one matching item anywhere on them: inventory, worn equipment and Curios slots where they apply.

KeyTypeDescriptionRequiredFallback
itemsItem ID(s) / TagThe item(s) to search for, given as explicit item IDs, a tag ("#namespace:tag"), or a mix of both.✓/

{
  "type": "argon:has_item",
  "items": [
    "minecraft:totem_of_undying"
  ]
}

Has Power

IDargon:has_power
Checks if the user has a matching power. "include" (default) needs at least one present, "exclude" needs all of them absent.

KeyTypeDescriptionRequiredFallback
powerPower ID(s) / TagThe power(s) to check for, given as explicit power IDs, a tag ("#namespace:tag"), or a mix of both.✓/
modeinclude
exclude
Whether a matching power must be present ("include") or absent ("exclude").✗INCLUDE

{
  "type": "argon:has_power",
  "power": "#palladium:arachnid"
}

Has Stored Equipment

IDargon:has_stored_equipment
Checks if the store_equipment ability has anything currently stored under the given ID.

KeyTypeDescriptionRequiredFallback
idStringThe ID to check.✓/

{
  "type": "argon:has_stored_equipment",
  "id": "ranger_armor"
}

Has Stored Item

IDargon:has_stored_item
Checks if at least one matching item is stored in any slot of the referenced argon:item_storage ability.

KeyTypeDescriptionRequiredFallback
item_storageStringThe argon:item_storage ability whose slots to check, e.g. "fsang:example#my_storage".✓/
itemsItem ID(s) / TagThe item(s) to search for among the stored slots, given as explicit item IDs, a tag ("#namespace:tag"), or a mix of both.✓/

{
  "type": "argon:has_stored_item",
  "item_storage": "fsang:example#my_storage",
  "items": [
    "minecraft:totem_of_undying"
  ]
}

Has Suit Modification

IDargon:has_suit_modification
Checks if the entity wears a complete Palladium suit with the given Tech Table modification installed on every piece. Can be limited to one suit set.

KeyTypeDescriptionRequiredFallback
modificationStringThe id of the suit modification (the file name under data//argon/suit_modification/).✓/
suitStringThe id of a Palladium suit set the worn suit has to be; any suit when left out.✗
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Check the item worn or held in this slot instead of a suit (for modules installed on a device item in the Modify tab).✗chest
min_levelIntegerFor modules that can be installed several times: the lowest level that counts.✗1

{
  "type": "argon:has_suit_modification",
  "modification": "example:reserve_battery"
}

Has Tech Slot Item

IDargon:has_tech_slot_item
True while the item in the given player slot has something in one of its Tech Table Customize slots. "tech_slot" limits it to one slot ID, "items" to certain items or item tags ("#namespace:tag").

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
The player slot holding the customized item.✓/
tech_slotIdentifierOnly check the Customize slot with this ID.✗/
itemsString, String[]Only count these items or item tags.✗/

{
  "type": "argon:has_tech_slot_item",
  "slot": "chest",
  "tech_slot": "example:core"
}

Health

IDargon:health
Checks if the user's current health, as a percentage of their current max health (with max health modifiers), is between min and max (inclusive).

KeyTypeDescriptionRequiredFallback
minDoubleThe minimum health percentage required (0-100).✗0.0
maxDoubleThe maximum health percentage allowed (0-100).✗100.0

{
  "type": "argon:health",
  "max": 25
}

Is Female

IDargon:is_female
True if the wearer picked "Female" in the argon:body customization. A shorthand for palladium:customization_selected, handy for limiting a body overlay to one chestplate.
{
  "type": "argon:is_female"
}

Item Component

IDargon:item_component
Checks if the item in the given slot has a specific data component set to a specific text value.

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
The slot whose item is checked.✓/
componentIdentifierThe id of the data component to check, e.g. "argon:weapon_mode".✓/
valueStringThe value the component must currently equal.✓/

{
  "type": "argon:item_component",
  "slot": "mainhand",
  "component": "argon:weapon_mode",
  "value": "blaster"
}

Jumping

IDargon:jumping
Checks if the user is in the air and moving upward, not standing on the ground or falling.
{
  "type": "argon:jumping"
}

Karma Alignment

IDargon:karma_alignment
True while the player's alignment is the given one. Use positive, neutral or negative for a whole side, or an alignment id such as hero or mastermind.

KeyTypeDescriptionRequiredFallback
alignmentpositive
neutral
negative
mastermind
villain
thug
lackey
neutral
vigilante
protector
hero
legend
The alignment id or side to check.✓/

{
  "type": "argon:karma_alignment",
  "alignment": "mastermind"
}

Karma Range

IDargon:karma_range
True while the player's karma is within the inclusive range. Karma goes from -5000 to 5000 by default. Use a maximum of -501 for "below -500".

KeyTypeDescriptionRequiredFallback
minimumIntegerThe lowest karma that passes, inclusive.✗-2147483648
maximumIntegerThe highest karma that passes, inclusive.✗2147483647

{
  "type": "argon:karma_range",
  "minimum": -5000,
  "maximum": -501
}

Key Press On Block

IDargon:key_press_on_block
True while the referenced ability's key is held and you look at a block matching "blocks" within "range". Handy for climbing, which needs both the key and a climbable surface.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe ability whose key_bind key-press state to check.✓/
blocksBlock ID(s) / TagThe block(s) the user must be looking at, as explicit block IDs, a tag ("#namespace:tag"), or a mix of both.✓/
rangeDoubleHow far, in blocks, the look-direction raycast reaches.✓/

{
  "type": "argon:key_press_on_block",
  "ability": "example:power#wall_crawling",
  "range": 5,
  "blocks": [
    "#minecraft:walls"
  ]
}

Looking At Entity

IDargon:looking_at_entity
True while the entity is looking at another entity within range. The entity can be limited to certain types, a single type or a tag. Blocks in the way hide entities behind them unless through_blocks is set.

KeyTypeDescriptionRequiredFallback
entity_typesEntity Type ID(s) / TagThe entity types that count, as one entity type ID, a tag ("#namespace:tag"), or a list mixing both. Left out, any entity counts.✗/
rangeDouble (0.1 ~ 512.0)How far along the look direction to search, in blocks.✓/
through_blocksBooleanIf true, entities behind blocks still count. If false, a block in the way hides them.✗false

{
  "type": "argon:looking_at_entity",
  "range": 8
}
{
  "type": "argon:looking_at_entity",
  "range": 12,
  "entity_types": [
    "minecraft:villager",
    "#minecraft:skeletons"
  ]
}

Main Hand

IDargon:main_hand
Checks the player's main hand setting (left or right handed), not which hand holds an item. Always false for non-players.

KeyTypeDescriptionRequiredFallback
handnone
main_arm
off_arm
right_arm
left_arm
both
The main hand to check for.✓/

{
  "type": "argon:main_hand",
  "hand": "right"
}

Marked Target

IDargon:marked_target
Checks if the entity has a living, unexpired target mark from argon:target_mark.

KeyTypeDescriptionRequiredFallback
moving_towardBooleanIf true, the entity must also be moving toward the marked target.✗false
max_distanceDoubleIf above 0, the marked target must be within this many blocks.✗0.0

{
  "type": "argon:marked_target",
  "moving_toward": true
}

Movement Speed

IDargon:movement_speed
True while the entity's actual speed, measured from how far it moved since the previous tick, is within min and max (inclusive), in blocks per second. Works on the client too, so it can drive trails and other visuals.

KeyTypeDescriptionRequiredFallback
minDoubleThe lowest speed in blocks per second that passes.✗0.0
maxDoubleThe highest speed in blocks per second that passes. Unset means no upper limit.✗/
horizontal_onlyBooleanIf true, vertical movement is ignored.✗false

{
  "type": "argon:movement_speed",
  "min": 12,
  "horizontal_only": true
}

Movement Speed Percent

IDargon:movement_speed_percent
True while the referenced movement_speed_adjuster dial is within "min" and "max" (inclusive). Handy for gating a speed tier on the dial being turned up.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe movement_speed_adjuster ability whose dial to check.✓/
minIntegerThe lowest dial value this still passes for.✗-2147483648
maxIntegerThe highest dial value this still passes for.✗2147483647

{
  "type": "argon:movement_speed_percent",
  "ability": "example:power#movement_speed_adjuster",
  "min": 50
}

Nearby Block

IDargon:nearby_block
Checks if at least one block matching "blocks" is within "radius" of the user. Scans every block in range on each check.

KeyTypeDescriptionRequiredFallback
blocksBlock ID(s) / TagThe block(s) to search for, as explicit block IDs, a tag ("#namespace:tag"), or a mix of both.✓/
radiusDoubleHow far from the user to search.✓/

{
  "type": "argon:nearby_block",
  "radius": 8,
  "blocks": [
    "#minecraft:diamond_ores"
  ]
}

Nearby Entities

IDargon:nearby_entities
Checks if at least one other entity is within range, optionally only living or only non-living ones, and/or ones that do or don't have specific powers.

KeyTypeDescriptionRequiredFallback
entity_filterliving
non_living
all
Which kinds of entities count: 'living' for players/mobs, 'non_living' for everything else.✗ALL
radiusDoubleHow far from the entity to search.✓/
powersPower Requirement,
Power Requirement[]
Restricts which entities count based on the powers they hold. Each entry lists a "power" (an explicit power id, a power tag ("#namespace:tag"), or a mix of both) and an optional "mode" - "include" (default) requires at least one matching power to be present, "exclude" requires all of them to be absent; an entity only counts if it satisfies every entry. Non-living entities never satisfy an "include" entry. Leave unset (the default) to not filter by power at all.✗/

powers (Power Requirement)

KeyTypeDescriptionRequiredFallback
powerPower ID(s) / TagThe power or powers the entity has to have.✓/
modeinclude
exclude
Whether the entity must have the power (include) or must not have it (exclude).✗include

{
  "type": "argon:nearby_entities",
  "entity_filter": "living",
  "radius": 8
}
{
  "type": "argon:nearby_entities",
  "entity_filter": "living",
  "radius": 8,
  "powers": [
    {
      "power": "example:ally_power",
      "mode": "include"
    },
    {
      "power": "example:hostile_power",
      "mode": "exclude"
    }
  ]
}

Perspective

IDargon:perspective
Checks if the owning player is in first or third person, synced from the client to the server. Defaults to first person and is always false for non-players.

KeyTypeDescriptionRequiredFallback
first_personBooleanTrue to check for first person, false to check for third person (front or back).✓/

{
  "type": "argon:perspective",
  "first_person": true
}

Possessing

IDargon:possessing
Passes while the entity is possessing another entity with an argon:possess ability. Without an ability set, any possess ability the entity has counts.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceOnly check this possess ability. Any possess ability counts if unset.✗/

{
  "type": "argon:possessing"
}
{
  "type": "argon:possessing",
  "ability": "example:power#possess"
}

Power Age

IDargon:power_age
True while the age counted by the referenced argon:time_growth ability, in days, is within min and max (inclusive).

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe argon:time_growth ability whose age to check.✓/
minDoubleThe lowest age in days that passes.✗0.0
maxDoubleThe highest age in days that passes. Unset means no upper limit.✗/
everyDoubleIf above 0, only passes for a moment (20 ticks) each time the age reaches another multiple of this many days, for example 1 to react to every new day.✗0.0

{
  "type": "argon:power_age",
  "ability": "example:power#growth",
  "min": 10,
  "max": 20
}

Reacted

IDargon:reacted
Checks if the referenced argon:damage_reaction ability reacted to a hit within the given time, optionally to one specific reaction.

KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe damage reaction ability to check.✓/
withinInteger,
Time String ("40s", "2m", etc.)
How recently the reaction must have happened.✗20
reactionStringOnly count the reaction with this id.✗/

{
  "type": "argon:reacted",
  "ability": "example:power#reaction"
}

Recently Attacked

IDargon:recently_attacked
Checks if the entity dealt damage to anything (melee, ranged or from an ability) within the given time.

KeyTypeDescriptionRequiredFallback
withinInteger,
Time String ("40s", "2m", etc.)
How recently the entity must have last attacked something for this to pass.✓/
or_hurt_by_hostileBooleanIf true, the condition also passes when a hostile mob damaged the entity within that time.✗false

{
  "type": "argon:recently_attacked",
  "within": 60
}

Saturation

IDargon:saturation
Checks if the user's saturation level is at least the given amount. Always false for non-players.

KeyTypeDescriptionRequiredFallback
amountFloatThe minimum saturation level required.✓/

{
  "type": "argon:saturation",
  "amount": 4
}

Sky Access

IDargon:sky_access
Passes while nothing solid is above the user's head, so they can see the open sky. Combine with a not condition to detect being underground or under a roof.
{
  "type": "argon:sky_access"
}

Targeted By Mob

IDargon:targeted_by_mob
Checks if at least one mob within range has the user as its AI attack target. Scans nearby mobs' targets rather than a global registry.

KeyTypeDescriptionRequiredFallback
rangeDoubleHow far out to search for mobs that might be targeting the user.✓/

{
  "type": "argon:targeted_by_mob",
  "range": 24
}

Tech Toggle

IDargon:tech_toggle
True while a Tech Table Customize button is switched on for the item in the given player slot.

KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
The player slot holding the customized item.✓/
toggleIdentifierThe ID of the button.✓/

{
  "type": "argon:tech_toggle",
  "slot": "chest",
  "toggle": "example:overdrive"
}

Throw Event

IDargon:throw_event
True for a short time after the entity threw, recalled or caught an item with an argon:throwable_item ability. It works on the client too, so animation controllers can use it to play a throw, recall or catch animation. The arm option restricts it to players whose main arm matches, so left-handed players can get a mirrored animation.

KeyTypeDescriptionRequiredFallback
eventthrow
recall
catch
Which event to look for.✓/
ticksIntegerHow many ticks the condition stays true after the event.✗10
armany
right
left
any, right or left: only players with that main arm pass.✗any

{
  "type": "argon:throw_event",
  "event": "catch",
  "ticks": 8,
  "arm": "right"
}

Time Of Day

IDargon:time_of_day
Checks if the overworld's time of day is between min and max inclusive. Wraps around midnight if max is smaller than min.

KeyTypeDescriptionRequiredFallback
minIntegerThe start of the time range, in ticks (0 = dawn, 6000 = midday, 12000 = dusk, 18000 = midnight).✓/
maxIntegerThe end of the time range, in ticks, wrapping around midnight if smaller than min.✓/

{
  "type": "argon:time_of_day",
  "min": 13000,
  "max": 23000
}

Took Off

IDargon:took_off
True for a short time after an "argon:charged_takeoff" launched the entity. Use it to hand the launch over to a flight ability, e.g. as the enabling of an "argon:force_start_flight".

KeyTypeDescriptionRequiredFallback
withinInteger,
Time String ("40s", "2m", etc.)
How long after the launch this stays true.✗10

{
  "type": "argon:took_off"
}

Wall Crawling Active

IDargon:wall_crawling_active
Checks if the user has an enabled argon:wall_crawling ability that is attached to a wall or ceiling. Only true while on a surface, not whenever the ability is enabled.
{
  "type": "argon:wall_crawling_active"
}

Weather

IDargon:weather
Passes while the world the entity is in has the given weather. Only the real world weather counts; local storms made by abilities do not change it.

KeyTypeDescriptionRequiredFallback
weatherclear
raining
thundering
The weather to test for. Raining also passes during a thunderstorm.✗thundering

{
  "type": "argon:weather"
}

Y Level

IDargon:y_level
Checks if the user is currently at or above a specified Y level.

KeyTypeDescriptionRequiredFallback
min_yDoubleThe minimum Y coordinate the user must be at or above.✓/

{
  "type": "argon:y_level",
  "min_y": 64
}