Skip to main content
Attribute actions provide direct control over a player’s physical and combat capabilities. These actions modify standard Minecraft attributes, allowing for RPG-like progression (e.g., “Speed Up” skills) or temporary buffs.
Mechanic: These actions typically add or set a base value depending on the implementation. Most are designed to be used with a duration for temporary buffs.

📋 Available Attributes

Action IDAttributeDescription
attack_damage_actionAttack DamageBase melee damage dealt.
attack_speed_actionAttack SpeedCooldown recovery speed for attacks.
attack_knockback_actionKnockbackForce applied to enemies on hit.
movement_speed_actionWalk SpeedStandard ground movement speed.
fly_speed_actionFly SpeedCreative/Spectator flight speed.
gravity_actionGravityVertical pull strength.
scale_actionModel ScalePlayer size (requires client support/Pehkui).
health_actionMax HealthMaximum HP pool.
safe_fall_distance_actionSafe FallBlock distance before taking fall damage.
block_reach_actionReachDistance to mine/place blocks.
block_break_speed_actionMining SpeedSpeed of breaking blocks.
Action IDAttributeDescription
sneaking_speed_actionSneak SpeedSpeed while crouching.
step_height_actionStep HeightHeight of blocks player can walk up instantly.
knockback_resistance_actionKB ResistChance to ignore knockback.
explosion_kb_resistance_actionExplosion ResistResistance to blast knockback.
max_absorption_actionAbsorptionMax golden-heart absorption.
luck_actionLuckLoot table luck modifier.
bonus_armor_actionArmorNative armor points.
burning_time_actionBurn TimeDuration of fire ticks.
fall_damage_multiplier_actionFall Dmg MultMultiplier for fall damage calculation.
water_movement_actionSwim SpeedSpeed while in water.
submerged_mining_actionAqua MiningMining speed while underwater.
oxygen_bonus_actionLung CapacityUnderwater breath time.
camera_distance_actionCamera Dist3rd person camera boom length.

⚙️ Configuration

value
Var<Double>
required
The magnitude of the change.Example: 0.1 might represent +10% speed depending on the base.
duration
Var<Duration>
Time before the attribute reverts to normal. Supports s (seconds), m (minutes), h (hours).Defaults to instant/permanent if not specified.

💻 Example Usage

# Increases movement speed by 50% for 30 seconds
movement_speed_action:
  value: 0.15
  duration: "30s"