Too Many Attributes
» Entity actions » Modify cursor speed

Modify cursor speed

too-many-attributes:modify_cursor_speedpower type

While active, scales how fast the holder's view turns with the mouse.

FieldTypeDefaultDescription
modifier, modifiersModifier, or a listoptionalApplied to a base of 1. A result of 0 freezes the view.
horizontalBooleantrueWhether it scales turning left and right.
verticalBooleantrueWhether it scales looking up and down.
  • It goes back to normal as soon as the power is removed or its condition turns false.
  • The condition is checked on the player's own client, so use conditions the client can see, like status effects, items or sneaking.
  • Several of these powers apply one after another.
  • From Overgrown's Apoli: the fields match.

Example: "Heavy armor". While wearing a netherite chestplate, your view turns at 60% speed.

json
{
  "type": "too-many-attributes:modify_cursor_speed",
  "modifier": {
    "operation": "multiply_total_multiplicative",
    "amount": -0.4
  },
  "condition": {
    "type": "origins:equipped_item",
    "equipment_slot": "chest",
    "item_condition": {
      "type": "origins:ingredient",
      "ingredient": {
        "item": "minecraft:netherite_chestplate"
      }
    }
  }
}