Skip to main content
Version: 26.1+

Values

Ability Animation Timer Value

ID: palladium:ability_animation_timer_value
Returns the value of the animation timer for the specified ability. Defaults to 0 if no ability or animation timer was found.
KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe ability to get the animation timer for. Defined in this syntax: <power_namespace>:<power_name>#<ability_key>/
modifyMoLangMoLang function to modify the value./

Ability Key

ID: palladium:ability_key
Returns the key of the ability in the context.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Ability Tick Count

ID: palladium:ability_tick_count
Returns the ticks the ability in the context has been enabled for.
KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe ability to get the ticks from. Defined in this syntax: <power_namespace>:<power_name>#<ability_key>/
modifyMoLangMoLang function to modify the value./

Conditional Value

ID: palladium:conditional
Returns a value based on whether a condition is met.
KeyTypeDescriptionRequiredFallback
conditionCondition,
Condition[]
The condition to test./
on_true(Dynamic) ValueThe value to return if the condition is met./
on_false(Dynamic) ValueThe value to return if the condition is not met./

Crouching

ID: palladium:crouching
Checks if the entity is crouching.
KeyTypeDescriptionRequiredFallback
on_trueStringThe value to return if the result is true./
on_falseStringThe value to return if the result is false./

Energy Bar

ID: palladium:energy_bar
Returns of the current value of a specific energy bar.
KeyTypeDescriptionRequiredFallback
energy_barAbility ReferenceThe energy bar to look for. Defined in this syntax: <power_namespace>:<power_name>#<energy_bar_key>/
modifyMoLangMoLang function to modify the value./

Entity Health

ID: palladium:entity_health
Returns the health of the entity.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Entity Tick Count

ID: palladium:entity_tick_count
Returns the tick count of the entity.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Float Data Attachment

ID: palladium:float_data_attachment
Returns the value of a data attachment, which must be a float.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment./
fallbackFloatIf the data attachment doesn't exist or is not existent in the entity, this fallback value will be used./
modifyMoLangMoLang function to modify the value./

Gliding Tick Count

ID: palladium:gliding_tick_count
Returns the amount of ticks since the entity is gliding (using elytra or ability).
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Integer Data Attachment

ID: palladium:integer_data_attachment
Returns the value of a data attachment, which must be an integer.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment./
fallbackIntegerIf the data attachment doesn't exist or is not existent in the entity, this fallback value will be used./
modifyMoLangMoLang function to modify the value./

Item Open

ID: palladium:item_open
Checks if an item was opened.
KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Slot to check for. If none specified, it will use the slot from the current context (if given)./
on_trueStringThe value to return if the result is true./
on_falseStringThe value to return if the result is false./

Item Open Timer

ID: palladium:item_open_timer
Returns of the timer for the opening process of an item.
KeyTypeDescriptionRequiredFallback
slotmainhand
offhand
head
chest
legs
feet
body
curios:head
curios:necklace
Slot to check for. If none specified, it will use the slot from the current context (if given)./
modifyMoLangMoLang function to modify the value./

Max Number

ID: palladium:max_number
Returns the highest number found within the given values
KeyTypeDescriptionRequiredFallback
values(Dynamic) Value[]List of values/
number_typeinteger
float
double
The required number type the result should be formatted as/

Min Number

ID: palladium:min_number
Returns the lowest number found within the given values
KeyTypeDescriptionRequiredFallback
values(Dynamic) Value[]List of values/
number_typeinteger
float
double
The required number type the result should be formatted as/

MoLang Float

ID: palladium:molang_float
Allows MoLang usage to calculate an float
KeyTypeDescriptionRequiredFallback
molangMoLangMoLang query/

MoLang Integer

ID: palladium:molang_integer
Allows MoLang usage to calculate an integer
KeyTypeDescriptionRequiredFallback
molangMoLangMoLang query/

MoLang String

ID: palladium:molang_string
Allows MoLang usage to assemble a string
KeyTypeDescriptionRequiredFallback
molangMoLangMoLang query/

Moon Phase

ID: palladium:moon_phase
Returns the current moon phase, an integer from 0 to 7.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Score

ID: palladium:score
Returns the score of the entity for the given objective.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Slim Player Model

ID: palladium:slim_player_model
Checks if the entity is a player and has the slim-armed (Alex) player model.
KeyTypeDescriptionRequiredFallback
on_trueStringThe value to return if the result is true./
on_falseStringThe value to return if the result is false./

Slot

ID: palladium:slot
Returns the slot of the current context.
KeyTypeDescriptionRequiredFallback
modifyMoLangMoLang function to modify the value./

Static Value

ID: palladium:static
Utilises a simple, static value
KeyTypeDescriptionRequiredFallback
valueAnythingA simple, static value./

String Data Attachment

ID: palladium:string_data_attachment
Returns the value of a data attachment.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment./
fallbackStringIf the data attachment doesn't exist or is not existent in the entity, this fallback value will be used./
modifyMoLangMoLang function to modify the value./

Wide Player Model

ID: palladium:wide_player_model
Checks if the entity is a player and has the wide-armed (Steve) player model.
KeyTypeDescriptionRequiredFallback
on_trueStringThe value to return if the result is true./
on_falseStringThe value to return if the result is false./