Skip to content

[Version 4.10] Scale Pehkui

Insane96 edited this page Jan 4, 2024 · 1 revision

Scale Pehkui

  • scale: (Range) The scale of the specified scale type
  • scale_types: (Resource Locations list) containing the scale types to change. All the scale types in the list will have the same scale.
  • operation: (String) "set", "add" or "multiply".

Example

Scales Spiders Hitbox and eye height to 55% and model width and height to 70%

{
    "target": "minecraft:spider",
    "scale_pehkui": [
        {
            "scale": 0.55,
            "scale_types": [
                "pehkui:hitbox_width",
                "pehkui:hitbox_height",
                "pehkui:eye_height"
            ],
            "operation": "set"
        },
        {
            "scale": 0.7,
            "scale_types": [
                "pehkui:model_width",
                "pehkui:model_height"
            ],
            "operation": "set"
        }
    ]
}
Clone this wiki locally