Skip to main content
Version: 26.1+

Values

Ability Animation Timer Value Integer​

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 String​

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

Ability Tick Count Integer​

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./

Active Mode String​

ID: palladium:active_mode
Returns the key of the active mode of a mode switch ability.
KeyTypeDescriptionRequiredFallback
abilityAbility ReferenceThe mode switch ability to read the active mode from./
modifyMoLangMoLang function to modify the value./

Attribute Float​

ID: palladium:attribute
Returns the attribute value of the entity.
KeyTypeDescriptionRequiredFallback
attributeAttribute IDThe id of the attribute to return./
modifyMoLangMoLang function to modify the value./

Conditional Value Anything​

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./

Convert to Float Float​

ID: palladium:convert_to_float
Converts the result of another value to a float.
KeyTypeDescriptionRequiredFallback
value(Dynamic) ValueThe value to convert./
modifyMoLangMoLang function to modify the value./

Convert to Integer Integer​

ID: palladium:convert_to_integer
Converts the result of another value to an integer.
KeyTypeDescriptionRequiredFallback
value(Dynamic) ValueThe value to convert./
modifyMoLangMoLang function to modify the value./

Crouching String​

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 Integer​

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 Float​

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

Entity Tick Count Integer​

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

Float Data Attachment Float​

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 Integer​

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 Integer​

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 String​

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 Integer​

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 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 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 Float​

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

MoLang Integer Integer​

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

MoLang String String​

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

Moon Phase Integer​

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

Score Integer​

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

Size Float​

ID: palladium:size
Returns the entity's current size. If a size change type is specified, returns that type's specific modifier value instead of the overall size.
KeyTypeDescriptionRequiredFallback
size_change_typeIdentifierThe size change type whose modifier to return. If omitted, the overall current size is returned./
modifyMoLangMoLang function to modify the value./

Slim Player Model String​

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 String​

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

Static Value Anything​

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

String Data Attachment String​

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./

Text Component Data Attachment Text Component​

ID: palladium:text_component_data_attachment
Returns the value of a data attachment as a text component.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment./
fallbackText ComponentIf 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 String​

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./