# Conditions

## Overview

### PantheonSent

- is_moon_knight_gliding

### FSang18's Heropack

- above_speed_levels
- armor_durability
- armor_durability_percent
- at_or_above_y_coordinate
- below_speed_levels
- block_search
- check_block
- check_uuid
- dampened_by
- date_condition
- get_energies
- get_energy
- get_energy_condition
- get_energy_range
- ground_distance
- has_hunger
- has_item_in_curios_trinkets
- has_power_in_namespace
- has_property
- health_below_percent
- hostile_tracking_player
- inventory_item_check
- is_biome
- is_blocking
- is_cooldown
- is_falling_down
- is_first_person
- is_jumping_up
- is_mainhand
- is_swinging
- item_nbt_between
- lit_campfire_search
- looking_down
- looking_left
- looking_right
- looking_up
- nearby_entity_condition
- nearby_entity_with_power
- nearby_entity_with_property
- on_wall
- on_wall_move
- power_selected
- rf_minimum_condition
- rf_percentage_condition
- stored_armor_state
- time_based_condition

### Palladium

- ability_enabled
- ability_first_tick
- ability_integer_property
- ability_last_tick
- ability_on_cooldown
- ability_ticks
- ability_type_enabled
- ability_type_unlocked
- ability_unlocked
- ability_wheel
- accessory_selected
- action
- activation
- and
- animation_timer_ability
- brightness_at_position
- chat_action
- chat_activation
- chat_toggle
- command_result
- crouching
- day
- dimension
- empty_slot
- energy_bar
- entity_type
- entity_type_tag
- experience_level_buyable
- false
- float_property
- has_effect
- has_movement_input
- has_power
- has_tag
- health
- held
- in_accessory_slot_menu
- in_lava
- in_water
- integer_property
- interval
- is_elytra_flying
- is_fast_flying
- is_flying
- is_hovering
- is_hovering_or_flying
- is_hovering_or_levitating
- is_in_rain
- is_in_water_or_bubble
- is_in_water_or_rain
- is_in_water_rain_or_bubble
- is_levitating
- is_moving
- is_on_fire
- is_swimming
- is_under_water
- item_buyable
- item_in_slot
- item_in_slot_open
- mod_loaded
- moon_phase
- night
- not
- objective_score
- on_ground
- openable_item_progress
- or
- pose
- property_buyable
- scoreboard_score_buyable
- size
- small_arms
- sprinting
- string_property
- toggle
- true
- wears_suit_set
- xor

## is_moon_knight_gliding

Checks if the entity is current doing the Moon Knight gliding.
Applicable for: all

### Example:

    {"type":"pantheonsent:is_moon_knight_gliding"}

## above_speed_levels

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
speedforce_id | String | ID used for speed control | false | speedLevel
amount | Integer | Amount control needs to be over or meet | false | 1

### Example:

    {"type":"fsang:above_speed_levels","speedforce_id":"speedLevel","amount":1}

## armor_durability

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | String | Armor slot to check (head, chest, legs, feet) | false | chest
min_percent | Float | Minimum percentage durability (0.0 to 1.0) | false | 0.0
max_percent | Float | Maximum percentage durability (0.0 to 1.0) | false | 1.0

### Example:

    {"type":"fsang:armor_durability","slot":"chest","min_percent":0.0,"max_percent":1.0}

## armor_durability_percent

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | String | Armor slot to check (head, chest, legs, feet) | false | chest
min_percent | Float | Minimum percentage durability (0–100) | false | 0.0
max_percent | Float | Maximum percentage durability (0–100) | false | 100.0

### Example:

    {"type":"fsang:armor_durability_percent","slot":"chest","min_percent":0.0,"max_percent":100.0}

## at_or_above_y_coordinate

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
y_level | Integer | The Y coordinate to check against | false | 100

### Example:

    {"type":"fsang:at_or_above_y_coordinate","y_level":100}

## below_speed_levels

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
speedforce_id | String | ID used for speed control | false | speedLevel
amount | Integer | Amount control needs to be under | false | 1

### Example:

    {"type":"fsang:below_speed_levels","speedforce_id":"speedLevel","amount":1}

## block_search

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
block_id | String | ID of the block to search for | false | minecraft:stone
search_radius | Float | Radius within which to search for the block | false | 10.0

### Example:

    {"type":"fsang:block_search","block_id":"minecraft:stone","search_radius":10.0}

## check_block

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
angle | Integer | Angle offset to rotate detection. | false | 0
blocks | String[] | Block IDs or tags to check. | false | []

### Example:

    {"type":"fsang:check_block","angle":0,"blocks":[]}

## check_uuid

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
uuid | String | UUID of the Player | false | baac7ff2-d949-416c-a492-e4f9ab3ddc87

### Example:

    {"type":"fsang:check_uuid","uuid":"baac7ff2-d949-416c-a492-e4f9ab3ddc87"}

## dampened_by

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
effect | String | Effect to search for | false | minecraft:health_boost

### Example:

    {"type":"fsang:dampened_by","effect":"minecraft:health_boost"}

## date_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
month | Integer | the month of the year | false | 3
day | Integer | the day of the month | false | 25

### Example:

    {"type":"fsang:date_condition","month":3,"day":25}

## get_energies

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
energy | Integer | Amount of energy to compare | false | 10
ids | String[] | List of item IDs to look for in curios/trinket slot | false | []
curios_slot | String | curios slot id | false | body
trinket_slot | String | trinket slot id | false | chest/cape

### Example:

    {"type":"fsang:get_energies","energy":10,"ids":[],"curios_slot":"body","trinket_slot":"chest/cape"}

## get_energy

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
energy | Integer | Amount of energy to compare | false | 10
id | String | Item to look for | false | fsang:arc_reactor
curios_slot | String | Curios slot id, default null | false | /
trinket_slot | String | Trinket slot id, default null | false | /
slot_type | String | Slot to check: "mainhand", "offhand", "inventory", or null by default | false | /

### Example:

    {"type":"fsang:get_energy","energy":10,"id":"fsang:arc_reactor","curios_slot":"null","trinket_slot":"null","slot_type":"null"}

## get_energy_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
energy | Integer | Amount of energy to compare | false | 10
id | String | Item to look for in curios slot | false | fsang:arc_reactor
curios_slot | String | curios slot id | false | body
trinket_slot | String | trinket slot id | false | chest/cape

### Example:

    {"type":"fsang:get_energy_condition","energy":10,"id":"fsang:arc_reactor","curios_slot":"body","trinket_slot":"chest/cape"}

## get_energy_range

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min | Integer | Minimum allowed energy | false | 0
max | Integer | Maximum allowed energy | false | 100000
ids | String[] | List of item IDs to check | false | []
curios_slot | String | Curios slot id | false | body
trinket_slot | String | Trinket slot id | false | chest/cape

### Example:

    {"type":"fsang:get_energy_range","min":0,"max":100000,"ids":[],"curios_slot":"body","trinket_slot":"chest/cape"}

## ground_distance

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min | Integer | The minimum value | false | 0
max | Integer | The maximum value | false | 10

### Example:

    {"type":"fsang:ground_distance","min":0,"max":10}

## has_hunger

Checks if the player has a certain amount of hunger
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min_hunger | Integer | Minimum hunger level to pass | false | 1
max_hunger | Integer | Maximum hunger level to pass | false | 20

### Example:

    {"type":"fsang:has_hunger","min_hunger":1,"max_hunger":20}

## has_item_in_curios_trinkets

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
curios_slot | String | Curios slot ID (set to "null" to skip) | false | null
trinket_slot | String | Trinket slot ID (set to "null" to skip) | false | null
item_id | String | ID of the item to check for | false | minecraft:diamond

### Example:

    {"type":"fsang:has_item_in_curios_trinkets","curios_slot":"null","trinket_slot":"null","item_id":"minecraft:diamond"}

## has_power_in_namespace

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
namespace | String | Namespace to check (e.g., "fsang") | false | fsang

### Example:

    {"type":"fsang:has_power_in_namespace","namespace":"fsang"}

## has_property

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
property | String | The name of the property to look for | false | fsang_property
property_value | String | The value of the property to return | false | fsang_property_value

### Example:

    {"type":"fsang:has_property","property":"fsang_property","property_value":"fsang_property_value"}

## health_below_percent

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
percentage | Float | Triggers if health is at or below this percentage (0.0 to 1.0). | false | 0.99

### Example:

    {"type":"fsang:health_below_percent","percentage":0.99}

## hostile_tracking_player

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
radius | Float | Maximum distance to search for hostile entities tracking the player. | false | 6.0

### Example:

    {"type":"fsang:hostile_tracking_player","radius":6.0}

## inventory_item_check

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
item_id | String | ID or #tag of the item to check for in the player inventory | false | minecraft:diamond

### Example:

    {"type":"fsang:inventory_item_check","item_id":"minecraft:diamond"}

## is_biome

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
biome | String | Biome name | false | minecraft:plains
tag | String | Biome tag | false | null

### Example:

    {"type":"fsang:is_biome","biome":"minecraft:plains","tag":"null"}

## is_blocking

Applicable for: all

### Example:

    {"type":"fsang:is_blocking"}

## is_cooldown

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
item | String | item to check if it is on cooldown | false | minecraft:diamond

### Example:

    {"type":"fsang:is_cooldown","item":"minecraft:diamond"}

## is_falling_down

Applicable for: all

### Example:

    {"type":"fsang:is_falling_down"}

## is_first_person

Applicable for: all

### Example:

    {"type":"fsang:is_first_person"}

## is_jumping_up

Applicable for: all

### Example:

    {"type":"fsang:is_jumping_up"}

## is_mainhand

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
hand_type | String | Which hand is the player's main hand? Choose between "left" or "right" | false | right

### Example:

    {"type":"fsang:is_mainhand","hand_type":"right"}

## is_swinging

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
data_name | String | Persistent data flag | false | fsang:web_swing:active

### Example:

    {"type":"fsang:is_swinging","data_name":"fsang:web_swing:active"}

## item_nbt_between

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
namespace | String | NBT key to read from the selected item | false | fsang_smoke
min | Integer | Minimum allowed integer value (inclusive) | false | 0
max | Integer | Maximum allowed integer value (inclusive) | false | 100
curios_slot | String | Curios slot ID to check for the NBT value. Use "null" to disable | false | null
trinket_slot | String | Trinkets slot ID to check for the NBT value. Use "null" to disable | false | null
armor_or_hand_slot | String | Armor or hand slot to check: mainhand, offhand, head, chest, legs, feet, or null | false | null

### Example:

    {"type":"fsang:item_nbt_between","namespace":"fsang_smoke","min":0,"max":100,"curios_slot":"null","trinket_slot":"null","armor_or_hand_slot":"null"}

## lit_campfire_search

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
search_radius | Float | Radius within which to search for a lit campfire | false | 10.0

### Example:

    {"type":"fsang:lit_campfire_search","search_radius":10.0}

## looking_down

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
range | Integer | Max angle for the looking range. | false | 90

### Example:

    {"type":"fsang:looking_down","range":90}

## looking_left

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
range | Integer | Max angle for the looking range. | false | 90

### Example:

    {"type":"fsang:looking_left","range":90}

## looking_right

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
range | Integer | Max angle for the looking range. | false | 90

### Example:

    {"type":"fsang:looking_right","range":90}

## looking_up

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
range | Integer | Max angle for the looking range. | false | 90

### Example:

    {"type":"fsang:looking_up","range":90}

## nearby_entity_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
radius | Float | Search radius in blocks | false | 8.0
entity_type | String | any, living, player, non_player_living | false | any
min_count | Integer | Minimum number required to enable | false | 1

### Example:

    {"type":"fsang:nearby_entity_condition","radius":8.0,"entity_type":"any","min_count":1}

## nearby_entity_with_power

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
radius | Float | Search radius in blocks | false | 8.0
power_id | String | Power required on nearby entity | false | fsang:example_power
entity_type | String | any, living, player, non_player_living | false | living
min_count | Integer | Minimum number required to enable | false | 1

### Example:

    {"type":"fsang:nearby_entity_with_power","radius":8.0,"power_id":"fsang:example_power","entity_type":"living","min_count":1}

## nearby_entity_with_property

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
radius | Float | Search radius in blocks | false | 5.0
property_name | String | Palladium property to check | false | fsang.example_property
property_value | String | Required value of the property | false | example
entity_type | String | any, living, player, non_player_living | false | living
min_count | Integer | Minimum number required to enable | false | 1

### Example:

    {"type":"fsang:nearby_entity_with_property","radius":5.0,"property_name":"fsang.example_property","property_value":"example","entity_type":"living","min_count":1}

## on_wall

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
data_name | String | Persistent data used | false | fsang.climb

### Example:

    {"type":"fsang:on_wall","data_name":"fsang.climb"}

## on_wall_move

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
data_name | String | Persistent data used | false | fsang.climb

### Example:

    {"type":"fsang:on_wall_move","data_name":"fsang.climb"}

## power_selected

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | String | ID of the power to test | false | pack:power

### Example:

    {"type":"fsang:power_selected","power":"pack:power"}

## rf_minimum_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
curios_slot | String | Curios slot ID (set to "null" to skip) | false | null
trinket_slot | String | Trinket slot ID (set to "null" to skip) | false | null
armor_or_hand_slot | String | Armor or hand slot (mainhand, offhand, etc.) | false | null
min_rf | Integer | Minimum RF required | false | 0

### Example:

    {"type":"fsang:rf_minimum_condition","curios_slot":"null","trinket_slot":"null","armor_or_hand_slot":"null","min_rf":0}

## rf_percentage_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
curios_slot | String | Curios slot ID (set to "null" to skip) | false | null
trinket_slot | String | Trinket slot ID (set to "null" to skip) | false | null
armor_or_hand_slot | String | Armor or hand slot (head, chest, legs, feet, mainhand, offhand, null) | false | null
percentage | Float | The RF percentage threshold | false | 50.0

### Example:

    {"type":"fsang:rf_percentage_condition","curios_slot":"null","trinket_slot":"null","armor_or_hand_slot":"null","percentage":50.0}

## stored_armor_state

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
namespace | String | Namespace used when storing armor | false | fsang
mode | String | any_filled | all_filled | any_empty | all_empty | false | any_filled

### Example:

    {"type":"fsang:stored_armor_state","namespace":"fsang","mode":"any_filled"}

## time_based_condition

Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
start_time | Integer | The starting time in ticks (0-24000) | false | 0
end_time | Integer | The ending time in ticks (0-24000) | false | 12000

### Example:

    {"type":"fsang:time_based_condition","start_time":0,"end_time":12000}

## ability_enabled

Checks if the ability is enabled. If the power is not null, it will look for the ability in the specified power. If the power is null, it will look for the ability in the current power.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id

### Example:

    {"type":"palladium:ability_enabled","power":"null","ability":"ability_id"}

## ability_first_tick

Checks if the ability is on its first tick.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id

### Example:

    {"type":"palladium:ability_first_tick","power":"null","ability":"ability_id"}

## ability_integer_property

Checks if the given ability has a certain integer property value.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id
property | String | Name of the integer property in the ability. For animation-timer abilities it's 'value' | false | value
min | Integer | Minimum required amount of the property value | false | 0
max | Integer | Maximum required amount of the property value | false | 0

### Example:

    {"type":"palladium:ability_integer_property","power":"null","ability":"ability_id","property":"value","min":0,"max":0}

## ability_last_tick

Checks if the ability was just on its last tick.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id

### Example:

    {"type":"palladium:ability_last_tick","power":"null","ability":"ability_id"}

## ability_on_cooldown

Checks if the ability is currently on cooldown. If the power is not null, it will look for the ability in the specified power. If the power is null, it will look for the ability in the current power.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id

### Example:

    {"type":"palladium:ability_on_cooldown","power":"null","ability":"ability_id"}

## ability_ticks

Checks if the ability has been enabled for a certain amount of ticks.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id
min | Integer | Minimum required amount of enabled ticks | false | 0
max | Integer | Maximum required amount of enabled ticks | false | 0

### Example:

    {"type":"palladium:ability_ticks","power":"null","ability":"ability_id","min":0,"max":0}

## ability_type_enabled

Checks if an ability of a certain type is enabled.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
ability_type | ResourceLocation | ID of the ability type to look for. If one ability can be found which is enabled, the condition will be true | false | palladium:dummy

### Example:

    {"type":"palladium:ability_type_enabled","ability_type":"palladium:dummy"}

## ability_type_unlocked

Checks if an ability of a certain type is unlocked.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
ability_type | ResourceLocation | ID of the ability type to look for. If one ability can be found which is unlocked, the condition will be true | false | palladium:dummy

### Example:

    {"type":"palladium:ability_type_unlocked","ability_type":"palladium:dummy"}

## ability_unlocked

Checks if the ability is unlocked.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id

### Example:

    {"type":"palladium:ability_unlocked","power":"null","ability":"ability_id"}

## ability_wheel

Allows ability to be used in an ability wheel.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
cooldown | Integer | Amount of ticks the ability wont be useable for after using it | false | 0

### Example:

    {"type":"palladium:ability_wheel","cooldown":0}

## accessory_selected

Checks if the entity has a specified accessory selected from a specific accessory slot. An empty string can be used to check for no accessory.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
accessory_slot | AccessorySlot | The ID of the accessory slot to read from | false | palladium:head
accessory | String | The accessory which needs to be selected in order for the condition to return true (include the namespace!) | false | palladium:sea_pickle_hat

### Example:

    {"type":"palladium:accessory_selected","accessory_slot":"palladium:head","accessory":"palladium:sea_pickle_hat"}

## action

This condition is used to activate the power when a key is pressed or a mouse button is clicked.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
cooldown | Integer | Amount of ticks the ability wont be useable for after using it | false | 0
key_type | KeyType | The type of key that needs to be pressed. Possible values: [key_bind, left_click, right_click, space_bar, scroll_up, scroll_down, scroll_either] | false | KEY_BIND
needs_empty_hand | Boolean | Whether or not the player needs to have an empty hand | false | false
allow_scrolling_when_crouching | Boolean | If you choose scrolling as a key type, you can determine if scrolling is allowed when crouching. For other key types you can completely ignore this setting. | false | true

### Example:

    {"type":"palladium:action","cooldown":0,"key_type":"key_bind","needs_empty_hand":false,"allow_scrolling_when_crouching":true}

## activation

This condition is used to activate the ability when a key is pressed or a mouse button is clicked for a certain amount of ticks.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
cooldown | Integer | Amount of ticks the ability wont be useable for after using it | false | 0
ticks | Integer | The amount of ticks the ability will be active for | false | 60
key_type | KeyType | The type of key that needs to be pressed. Possible values: [key_bind, left_click, right_click, space_bar, scroll_up, scroll_down, scroll_either] | false | KEY_BIND
needs_empty_hand | Boolean | Whether or not the player needs to have an empty hand | false | false
allow_scrolling_when_crouching | Boolean | If you choose scrolling as a key type, you can determine if scrolling is allowed when crouching. For other key types you can completely ignore this setting. | false | true

### Example:

    {"type":"palladium:activation","cooldown":0,"ticks":60,"key_type":"key_bind","needs_empty_hand":false,"allow_scrolling_when_crouching":true}

## and

A condition that is active if all of the conditions in the array are active.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
conditions | Condition[] | Array of conditions, all of which must be active | false | 0 conditions

### Example:

    {"type":"palladium:and","conditions":[]}

## animation_timer_ability

Checks if the given animation timer ability has a certain value. This condition is a simplified version of the ability_integer_property condition designed to be used for animation timer abilities.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired ability is located. Can be null IF used for abilities, then it will look into the current power | false | /
ability | String | ID of the desired ability | false | ability_id
min | Integer | Minimum required amount of the timer value | false | 0
max | Integer | Maximum required amount of the timer value | false | 0

### Example:

    {"type":"palladium:animation_timer_ability","power":"null","ability":"ability_id","min":0,"max":0}

## brightness_at_position

Checks if the entity's brightness at it's position is within the given range.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min_brightness | Integer | Minimum required brightness at entity's position | false | 0
max_brightness | Integer | Maximum required brightness at entity's position | false | 16

### Example:

    {"type":"palladium:brightness_at_position","min_brightness":0,"max_brightness":16}

## chat_action

This condition will be active once, when a chat message has been sent.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
chat_message | String | The chat message to look for, will check case insensitive. | false | Hello World
cooldown | Integer | Amount of ticks the ability wont be useable for after using it. | false | 0

### Example:

    {"type":"palladium:chat_action","chat_message":"Hello World","cooldown":0}

## chat_activation

This condition is used to activate the ability when a chat message was sent for a certain amount of ticks.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
chat_message | String | The chat message to look for, will check case insensitive. | false | Hello World
cooldown | Integer | Amount of ticks the ability wont be useable for after using it. | false | 0
ticks | Integer | The amount of ticks the ability will be active for | false | 60

### Example:

    {"type":"palladium:chat_activation","chat_message":"Hello World","cooldown":0,"ticks":60}

## chat_toggle

Toggles the ability on and off after a chat message was sent.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
chat_message | String | The chat message to look for, will check case insensitive. | false | Hello World
cooldown | Integer | Amount of ticks the ability can be used for | false | 0

### Example:

    {"type":"palladium:chat_toggle","chat_message":"Hello World","cooldown":0}

## command_result

Executes a command and compares the output to a number.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
command | String | The command output to compare the 'compare_to' int with | false | execute if entity @s
comparison | String | The comparison used between the 'command' and 'compare_to' fields, accepts >=, <=, >, <, !=, or == (note that the first number is from 'command' and the second from 'compare_to') | false | ==
compare_to | Integer | The number being compared to the output of 'command' | false | 1
log | Boolean | If the command's output is sent to the entity or not (unless debugging, you probably want this false/unset) | false | false

### Example:

    {"type":"palladium:command_result","command":"execute if entity @s","comparison":"==","compare_to":1,"log":false}

## crouching

Checks if the entity is crouching.
Applicable for: all

### Example:

    {"type":"palladium:crouching"}

## day

Checks if it's currently daytime
Applicable for: all

### Example:

    {"type":"palladium:day"}

## dimension

Checks if the player is in a specific dimension.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
dimension | ResourceLocation | ID of the dimension the player must be in. Example values: minecraft:overworld, minecraft:the_nether, minecraft:the_end | false | minecraft:overworld

### Example:

    {"type":"palladium:dimension","dimension":"minecraft:overworld"}

## empty_slot

Checks if the given slot is empty.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | PlayerSlot | Slot that must be empty. Example values: [mainhand, offhand, feet, legs, chest, head, curios:back, curios:necklace, trinkets:chest/back, trinkets:chest/necklace] | false | chest

### Example:

    {"type":"palladium:empty_slot","slot":"chest"}

## energy_bar

Checks if energy bar has enough energy in it.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power where is the desired energy bar is located. Can be null IF used for abilities, then it will look into the current power | false | /
energy_bar | String | ID of the desired energy bar | false | energy_bar_name
min | Integer | Minimum required amount of the energy in the energy bar | false | 0
max | Integer | Maximum required amount of the energy in the energy bar | false | 2147483647

### Example:

    {"type":"palladium:energy_bar","power":"null","energy_bar":"energy_bar_name","min":0,"max":2147483647}

## entity_type

Checks if the entity is of a specific entity type.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
entity_type | EntityType | The entity type the entity must be of for the condition to be active | false | minecraft:player

### Example:

    {"type":"palladium:entity_type","entity_type":"minecraft:player"}

## entity_type_tag

Checks if the entity is of a certain tag.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
entity_type_tag | ResourceLocation | The tag the type of the entity must be in for the condition to be active | false | minecraft:skeletons

### Example:

    {"type":"palladium:entity_type_tag","entity_type_tag":"minecraft:skeletons"}

## experience_level_buyable

A condition that makes the ability buyable for a certain amount of xp levels.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
xp_level | Integer | Amount xp level that the player needs to spend | false | 3
flat_levels | Boolean | Determines if the taken levels should be taken as-is, or be calculated appropriately to Minecraft logic. | false | true

### Example:

    {"type":"palladium:experience_level_buyable","xp_level":3,"flat_levels":true}

## false

It's just false. That's it.
Applicable for: all

### Example:

    {"type":"palladium:false"}

## float_property

Checks if the entity has a float property with a value between the given minimum and maximum.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
property | String | Name of the float property in the entity | false | value
min | Float | Minimum required amount of the property value | false | 0.0
max | Float | Maximum required amount of the property value | false | 0.0

### Example:

    {"type":"palladium:float_property","property":"value","min":0.0,"max":0.0}

## has_effect

Checks if the entity has a (potion) effect.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
effect | Object | ID of the (potion) effect that is being checked for. | false | minecraft:poison

### Example:

    {"type":"palladium:has_effect","effect":"minecraft:poison"}

## has_movement_input

Checks if the player is moving by itself by using their buttons.
Applicable for: all

### Example:

    {"type":"palladium:has_movement_input"}

## has_power

Checks if the entity has a power with the given ID.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
power | ResourceLocation | ID of the power that is required | false | example:power_id

### Example:

    {"type":"palladium:has_power","power":"example:power_id"}

## has_tag

Checks if the entity has a specific tag. These tags are added to entities via /tag command.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
tag | String | The tag the entity must have. | false | example_tag

### Example:

    {"type":"palladium:has_tag","tag":"example_tag"}

## health

Checks if the entity has a certain amount of health.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min_health | Float | Minimum required amount of health | false | 0.0
max_health | Float | Maximum required amount of health | false | 3.4028235E38

### Example:

    {"type":"palladium:health","min_health":0.0,"max_health":3.4028235E38}

## held

Allows the ability to be used while holding a key bind.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
cooldown | Integer | Amount of ticks the ability can be used for | false | 0
key_type | KeyType | The type of key that needs to be pressed. Possible values: [key_bind, left_click, right_click, space_bar] | false | KEY_BIND
needs_empty_hand | Boolean | Whether or not the player needs to have an empty hand | false | false

### Example:

    {"type":"palladium:held","cooldown":0,"key_type":"key_bind","needs_empty_hand":false}

## in_lava

Checks if the entity is in lava.
Applicable for: all

### Example:

    {"type":"palladium:in_lava"}

## in_water

Checks if the entity is in water.
Applicable for: all

### Example:

    {"type":"palladium:in_water"}

## integer_property

Checks if the entity has a certain amount of a certain integer property.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
property | String | Name of the integer property in the entity | false | value
min | Integer | Minimum required amount of the property value | false | 0
max | Integer | Maximum required amount of the property value | false | 0

### Example:

    {"type":"palladium:integer_property","property":"value","min":0,"max":0}

## interval

Allows you to set an amount of ticks the ability will be active and an amount of ticks the ability will be disabled. The ability will be active for the first amount of ticks and then disabled for the second amount of ticks and so on.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
active_ticks | Integer | Determines for how many ticks the condition will be active | false | 20
disabled_ticks | Integer | Determines for how many ticks the condition will be disabled | false | 20

### Example:

    {"type":"palladium:interval","active_ticks":20,"disabled_ticks":20}

## is_elytra_flying

Checks if the entity is currently flying with an elytra.
Applicable for: all

### Example:

    {"type":"palladium:is_elytra_flying"}

## is_fast_flying

Checks if the entity is currently flying fast.
Applicable for: all

### Example:

    {"type":"palladium:is_fast_flying"}

## is_flying

Checks if the entity is flying.
Applicable for: all

### Example:

    {"type":"palladium:is_flying"}

## is_hovering

Checks if the entity is hovering mid-air.
Applicable for: all

### Example:

    {"type":"palladium:is_hovering"}

## is_hovering_or_flying

Checks if the entity is hovering mid-air or flying.
Applicable for: all

### Example:

    {"type":"palladium:is_hovering_or_flying"}

## is_hovering_or_levitating

Checks if the entity is hovering mid-air or levitating.
Applicable for: all

### Example:

    {"type":"palladium:is_hovering_or_levitating"}

## is_in_rain

Checks if the entity is in rain.
Applicable for: all

### Example:

    {"type":"palladium:is_in_rain"}

## is_in_water_or_bubble

Checks if the entity is in water or a bubble column.
Applicable for: all

### Example:

    {"type":"palladium:is_in_water_or_bubble"}

## is_in_water_or_rain

Checks if the entity is in water or rain.
Applicable for: all

### Example:

    {"type":"palladium:is_in_water_or_rain"}

## is_in_water_rain_or_bubble

Checks if the entity is in water, rain or a bubble column.
Applicable for: all

### Example:

    {"type":"palladium:is_in_water_rain_or_bubble"}

## is_levitating

Checks if the entity is levitating.
Applicable for: all

### Example:

    {"type":"palladium:is_levitating"}

## is_moving

Checks if the entity is moving.
Applicable for: all

### Example:

    {"type":"palladium:is_moving"}

## is_on_fire

Checks if the entity is on fire.
Applicable for: all

### Example:

    {"type":"palladium:is_on_fire"}

## is_swimming

Checks if the entity is swimming.
Applicable for: all

### Example:

    {"type":"palladium:is_swimming"}

## is_under_water

Checks if the entity is under water.
Applicable for: all

### Example:

    {"type":"palladium:is_under_water"}

## item_buyable

The player needs to spend a certain amount of items to unlock the ability.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
ingredient | Ingredient | Ingredient predicate for the item | false | {"item":"minecraft:iron_ingot"}
amount | Integer | Amount of items that the player needs to spend | false | 3

### Example:

    {"type":"palladium:item_buyable","ingredient":{"item":"minecraft:iron_ingot"},"amount":3}

## item_in_slot

Checks if the given item is in the given slot.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
item | Ingredient | Item (defined as an ingredient) that must be in the given slot | false | {"item":"minecraft:leather_chestplate"}
slot | PlayerSlot | Slot that must contain the item. Example values: [mainhand, offhand, feet, legs, chest, head, curios:back, curios:necklace, trinkets:chest/back, trinkets:chest/necklace] | false | chest

### Example:

    {"type":"palladium:item_in_slot","item":{"item":"minecraft:leather_chestplate"},"slot":"chest"}

## item_in_slot_open

Checks if the item in the given slot is opened. Needs to be using the openable-system for items.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | PlayerSlot | Slot that must contain an opened item. Example values: [mainhand, offhand, feet, legs, chest, head, curios:back, curios:necklace, trinkets:chest/back, trinkets:chest/necklace] | false | chest

### Example:

    {"type":"palladium:item_in_slot_open","slot":"chest"}

## mod_loaded

Checks if a mod is loaded.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
mod_id | String | ID of the mod that must be loaded | false | palladium

### Example:

    {"type":"palladium:mod_loaded","mod_id":"palladium"}

## moon_phase

Checks if the moon phase is between the given values.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min_phase | Integer | Minimum phase required to be active | false | 0
max_phase | Integer | Maximum phase required to be active | false | 7

### Example:

    {"type":"palladium:moon_phase","min_phase":0,"max_phase":7}

## night

Checks if it's currently nighttime
Applicable for: all

### Example:

    {"type":"palladium:night"}

## not

Returns true if all conditions are disabled.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
conditions | Condition[] | Array of conditions that must be disabled | false | 0 conditions

### Example:

    {"type":"palladium:not","conditions":[]}

## objective_score

Checks if the player has a score in a specific objective. IF YOU USE THIS, MAKE A 'tracked_score.json' AND PUT THE OBJECTIVE NAME IN IT, MORE ON THE WIKI!
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
objective | String | Name of the objective | false | objective_name
min_score | Integer | Minimum required score of objective | false | -2147483648
max_score | Integer | Maximum required score of objective | false | 2147483647

### Example:

    {"type":"palladium:objective_score","objective":"objective_name","min_score":-2147483648,"max_score":2147483647}

## on_ground

Checks if the entity is on the ground.
Applicable for: all

### Example:

    {"type":"palladium:on_ground"}

## openable_item_progress

Checks if the openable item in the given slot has a certain amount of progress. Needs to be using the openable-system for items.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
slot | PlayerSlot | Slot that must contain an opened item. Example values: [mainhand, offhand, feet, legs, chest, head, curios:back, curios:necklace, trinkets:chest/back, trinkets:chest/necklace] | false | chest
min | Integer | Minimum required amount of the progress value | false | 0
max | Integer | Maximum required amount of the progress value | false | 0

### Example:

    {"type":"palladium:openable_item_progress","slot":"chest","min":0,"max":0}

## or

Returns true if at least one of the conditions is active.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
conditions | Condition[] | Array of conditions, at least one of which must be active | false | 0 conditions

### Example:

    {"type":"palladium:or","conditions":[]}

## pose

Checks if the entity is in a specific pose.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
pose | Pose | Determines the pose the entity must be in. Possible values: [standing, fall_flying, sleeping, swimming, spin_attack, crouching, long_jumping, dying, croaking, using_tongue, sitting, roaring, sniffing, emerging, digging] | false | CROUCHING

### Example:

    {"type":"palladium:pose","pose":"crouching"}

## property_buyable

A buyable condition that requires a certain value in an integer palladium property.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
property | String | Name of the (integer) palladium property | false | property_name
score | Integer | Required value of the property | false | 3
icon | IIcon | Icon that will be displayed during buying | false | ItemIcon{stack=1 command_block}
description | Component | Name of the property that will be displayed during buying | false | literal{Property}

### Example:

    {"type":"palladium:property_buyable","property":"property_name","score":3,"icon":"minecraft:command_block","description":{"text":"Property"}}

## scoreboard_score_buyable

A buyable condition that requires a certain score for a scoreboard objective.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
objective | String | Name of the scoreboard objective | false | objective_name
score | Integer | Required player score for the scoreboard objective | false | 3
icon | IIcon | Icon that will be displayed during buying | false | ItemIcon{stack=1 command_block}
description | Component | Name of the score that will be displayed during buying | false | literal{Scoreboard Score}

### Example:

    {"type":"palladium:scoreboard_score_buyable","objective":"objective_name","score":3,"icon":"minecraft:command_block","description":{"text":"Scoreboard Score"}}

## size

Checks if an entity is within a certain size (requires Pehkui for real effect). It checks for the "average " size, which is the average of the width and height scale. Usually they are the same.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
min | Float | Minimum required average size | false | 0.0
max | Float | Minimum required average size | false | 3.4028235E38

### Example:

    {"type":"palladium:size","min":0.0,"max":3.4028235E38}

## small_arms

Checks if the entity has small arms. Returns false if the entity is not a player or if this condition is being checked sever-side.
Applicable for: assets

### Example:

    {"type":"palladium:small_arms"}

## sprinting

Checks if the entity is sprinting.
Applicable for: all

### Example:

    {"type":"palladium:sprinting"}

## string_property

Checks if the entity has a string property that matches the given comparison.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
property | String | Name of the float property in the entity | false | value
comparator | StringComparator | The comparator type being used on the string property. Possible values: [equals, equals_ignore_case, starts_with, ends_with, contains, contains_ignore_case] | false | EQUALS
compare_to | String | The string the property is compared to | false |

### Example:

    {"type":"palladium:string_property","property":"value","comparator":"equals","compare_to":""}

## toggle

Toggles the ability on and off after a key press or mouse click.
Applicable for: data

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
cooldown | Integer | Amount of ticks the ability can be used for | false | 0
key_type | KeyType | The type of key that needs to be pressed. Possible values: [key_bind, left_click, right_click, space_bar, scroll_up, scroll_down, scroll_either] | false | KEY_BIND
needs_empty_hand | Boolean | Whether or not the player needs to have an empty hand | false | false
allow_scrolling_when_crouching | Boolean | If you choose scrolling as a key type, you can determine if scrolling is allowed when crouching. For other key types you can completely ignore this setting. | false | true

### Example:

    {"type":"palladium:toggle","cooldown":0,"key_type":"key_bind","needs_empty_hand":false,"allow_scrolling_when_crouching":true}

## true

It's just true. That's it.
Applicable for: all

### Example:

    {"type":"palladium:true"}

## wears_suit_set

Checks if the entity is wearing a specific suit set.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
suit_set | SuitSet | ID of the suit set that must be worn | false | /

### Example:

    {"type":"palladium:wears_suit_set","suit_set":"null"}

## xor

A condition that is active if one of the conditions in the array is active.
Applicable for: all

### Settings:

Setting | Type | Description | Required | Fallback Value
--- | --- | --- | --- | ---
conditions | Condition[] | Array of conditions, one of which must be active | false | 0 conditions

### Example:

    {"type":"palladium:xor","conditions":[]}