Skip to content

[Version 4.0] Phantom

Insane96 edited this page Jan 24, 2023 · 2 revisions

Phantoms have a specific modifiable property that changes their size.
Those should work for other mods' phantoms too if they inherit from the vanilla phantom.

Phantom

That's a list of all the keys available for the phantom object, all the values are optional. The ghast object on a mob that's not a ghast will do nothing.

  • phantom
    • size: Range Object that changes phantoms' size. Vanilla is always 1.

Example

This example makes Phantoms spawn with a size between 1 and 3. If the difficulty is hard the size is between is 2 and 4 instead.

{
    "mob_id": "minecraft:phantom",
    "phantom": {
        "size": {
            "min": 1,
            "max": 3,
            "difficulty_modifier": {
                "operation": "add",
                "hard": 1
            }
        }
    }
}
Clone this wiki locally