Skip to main content
Version: 26.1+

Abilities

Adding abilities to powers

TODO

Builtin Abilities

ability.palladium.flight

ID: palladium:flight
Allows the player to fly using a pre-defined flight type
KeyTypeDescriptionRequiredFallback
flight_typeFlight Type IDThe ID of the flight type that will be used.palladium:propulsion

ability.palladium.trail

ID: palladium:trail
An ability that renders a trail behind the entity.
KeyTypeDescriptionRequiredFallback
trailIdentifierThe id of the trail renderer to use. Trail files are located in "assets/namespace/palladium/trails"./

Aim

ID: palladium:aim
Allows the player to aim their arms.
KeyTypeDescriptionRequiredFallback
armNONE
MAIN_ARM
OFF_ARM
RIGHT_ARM
LEFT_ARM
BOTH
The arm(s) that should point.MAIN_ARM

Attribute Modifier

ID: palladium:attribute_modifier
Adds an attribute modifier to the entity while the ability is enabled.
KeyTypeDescriptionRequiredFallback
attributeAttribute IDDetermines which attribute should be modified. Possible attributes: minecraft:armor, minecraft:armor_toughness, minecraft:attack_damage, minecraft:attack_knockback, minecraft:attack_speed, minecraft:block_break_speed, minecraft:block_interaction_range, minecraft:burning_time, minecraft:camera_distance, minecraft:entity_interaction_range, minecraft:explosion_knockback_resistance, minecraft:fall_damage_multiplier, minecraft:flying_speed, minecraft:follow_range, minecraft:gravity, minecraft:jump_strength, minecraft:knockback_resistance, minecraft:luck, minecraft:max_absorption, minecraft:max_health, minecraft:mining_efficiency, minecraft:movement_efficiency, minecraft:movement_speed, minecraft:oxygen_bonus, minecraft:safe_fall_distance, minecraft:scale, minecraft:sneaking_speed, minecraft:spawn_reinforcements, minecraft:step_height, minecraft:submerged_mining_speed, minecraft:sweeping_damage_ratio, minecraft:tempt_range, minecraft:water_movement_efficiency, minecraft:waypoint_receive_range, minecraft:waypoint_transmit_range, neoforge:creative_flight, neoforge:nametag_distance, neoforge:swim_speed/
amountDoubleThe amount for the giving attribute modifier/
operationADD_VALUE
ADD_MULTIPLIED_BASE
ADD_MULTIPLIED_TOTAL
The operation for the attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations)/
idStringSets the unique identifier for this attribute modifier. Will fallback to a generated one based on the ability/power ID./

Command

ID: palladium:command
An ability that executes commands.
KeyTypeDescriptionRequiredFallback
commandsstring[]The commands that are executed during each tick of the ability being active./
first_tick_commandsstring[]The commands that are executed upon activating the ability./
last_tick_commandsstring[]The commands that are executed on the last tick of the ability being active./

Damage Immunity

ID: palladium:damage_immunity
Makes the entity immune against certain damage types.
KeyTypeDescriptionRequiredFallback
damage_typeDamage Type ID(s) / Tag(s)The damage types the entity is immune against./

Dummy

ID: palladium:dummy
A dummy ability that does nothing.
{
"type": "palladium:dummy"
}

Energy Beam

ID: palladium:beam
Shoots an beam in the direction the player is looking at.
KeyTypeDescriptionRequiredFallback
beam_rendererIdentifierThe id of the beam renderer to use/
damageFloatThe damage the beam deals to entities0
max_distanceFloatThe maximum distance the beam can travel30
set_on_fire_ticksIntegerThe amount of ticks the hit entity is set on fire0
cause_fireBooleanIf the beam should cause fire on blocksfalse
smelt_blocksBooleanIf the beam should smelt hit blocksfalse

Fire Aspect

ID: palladium:fire_aspect
Makes this entity's attacks light targets on fire as if fire aspect was used.
KeyTypeDescriptionRequiredFallback
timeIntegerThe amount of time, in ticks, that the victim entity will be set on fire for/
should_stack_timeBooleanIf true, attacking an entity that's already on fire will add the "time" field to their current burn time instead of setting itfalse
max_timeIntegerIf "should_stack_time" is true, the victim's burn time (in ticks) will not exceed this value after being hit1200

Fluid Walking

ID: palladium:fluid_walking
Allows the entity to walk on a specific fluid.
KeyTypeDescriptionRequiredFallback
fluid_tagFluid Tag
Fluid Tag[]
The fluid tag(s) the entity can walk on.minecraft:water

Geo Animation

ID: geckolib:trigger_layer_animation
This ability let's you trigger animations defined in a GeckoLib render layer.
KeyTypeDescriptionRequiredFallback
render_layerIdentifierThe ID of the render layer receiving the animation. Must be a gecko render layer!/
controllerStringName of the animation controller the animation is played on./
triggerStringName of the animation trigger/

Gui Overlay

ID: palladium:gui_overlay
Renders an image on the screen.
KeyTypeDescriptionRequiredFallback
textureTexture ReferenceThe texture to render./
texture_widthIntegerThe width of the texture.256
texture_heightIntegerThe height of the texture.256
translateVector 2DThe translation of the texture.net.minecraft.world.phys.Vec2@5d3c30c8
rotateFloatThe rotation of the texture.0
scaleVector 2DThe scale of the texture.net.minecraft.world.phys.Vec2@118929ae
alignmentTOP_LEFT
TOP_CENTER
TOP_RIGHT
MIDDLE_LEFT
CENTER
MIDDLE_RIGHT
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
STRETCH
Determines how the image is aligned on the screen./

Healing

ID: palladium:healing
An ability that heals the entity every x ticks by y amount.
KeyTypeDescriptionRequiredFallback
frequencyIntegerThe frequency of healing (in ticks)/
amountFloatThe amount of hearts for each healing/

Hide Body Part

ID: palladium:hide_model_part
Hides the specified body parts of the entity.
KeyTypeDescriptionRequiredFallback
body_partsString
String[]
The body parts to hide./
affects_first_personBooleanDetermines if the first person arm should disappear as well (if it's disabled)./

Intangibility

ID: palladium:intangibility
Makes the entity intangible to certain blocks.
KeyTypeDescriptionRequiredFallback
verticalBooleanMakes the player vertically intangible aswell.false
whitelistBlock TagBlock tag which includes the block the player can phase through. Leave null for all blocks./
blacklistBlock TagBlock tag which includes the block the player can phase through. Leave null for all blocks.palladium:prevents_intangibility

Invisibility

ID: palladium:invisibility
Makes the player invisible. Also makes mobs not see the player anymore.
KeyTypeDescriptionRequiredFallback
opacityFloat (>= 0.0)The opacity the player will adapt0
opacity_selfFloatThe opacity at which the player will see themself. If this is being set to something less than 0 it will use the default opacity setting.0.2
mob_visibility_modifierFloat (>= 0.0)A multiplier for how visible the player is to mobs. 0.0 means completely invisible, 1.0 means normal visibility.0

Name Change

ID: palladium:name_change
Changes the name of the player executing the ability.
KeyTypeDescriptionRequiredFallback
nameText ComponentThe new name of the player./

Particles

ID: palladium:particles
Spawns particles around the entity.
KeyTypeDescriptionRequiredFallback
emitterIdentifier
Identifier[]
List of emitter IDs where the particles spawn at./
particle_typeParticle Type IDID of the particle you want to spawn./
optionsNBTAdditional options for the particle (like color of a dust particle)./

Restrict Slots

ID: palladium:restrict_slots
Restricts the slots of the entity.
KeyTypeDescriptionRequiredFallback
slotsmainhand
offhand
head
chest
legs
feet
body
accessories:head
accessories:necklace
The slots that should be restricted./

Sculk Immunity

ID: palladium:sculk_immunity
When enabled, the player will not cause any walk-related sculk vibrations anymore.
{
"type": "palladium:sculk_immunity"
}

Shader Effect

ID: palladium:shader_effect
Applies a shader effect to the player.
KeyTypeDescriptionRequiredFallback
shaderIdentifierThe ID of the shader that shall be applied./

Show Both Arms

ID: palladium:show_both_arms
Enables the rendering of your off-hand in first-person.
{
"type": "palladium:show_both_arms"
}

Shrink Body Overlay

ID: palladium:shrink_player_overlay
An ability that shrinks the body overlay of the entity.
{
"type": "palladium:shrink_player_overlay"
}

Size

ID: palladium:size
An ability that changes the size of the entity using Pehkui.
KeyTypeDescriptionRequiredFallback
scaleFloatThe target scale of the entity./

Skin Change

ID: palladium:skin_change
An ability that changes the player's skin.
KeyTypeDescriptionRequiredFallback
textureTexture ReferenceThe texture that should be used for the player's skin./
model_typeKEEP
WIDE
SLIM
Model type for the player. 'wide' = Wide-armed Steve model; 'slim' = Slim-armed Alex model; 'keep' = Does not change the player's default modelKEEP
priorityIntegerPriority for the skin (in case multiple skin changes are applied, the one with the highest priority will be used)50

Slowfall

ID: palladium:slowfall
Makes the entity fall slower.
{
"type": "palladium:slowfall"
}

Sound

ID: palladium:play_sound
Plays a sound.
KeyTypeDescriptionRequiredFallback
soundIdentifierThe sound that is being played./
volumeFloatThe volume for the played sound.1
pitchFloatThe pitch for the played sound.1
loopingBooleanWhether or not the sound should loop during the time the ability is enabled.false
play_selfBooleanWhether or not the sound should be played to just the player executing the ability, or to all players.false