Gateways to Eternity

Gateways to Eternity

20M Downloads

Cannot spawn mobs with area effect cloud passenger

kyragit opened this issue ยท 2 comments

commented

Mobs summoned by a gateway with an area effect cloud as a passenger won't spawn the cloud. I've copy and pasted the same NBT from a working /summon command, so I'm not getting the syntax wrong. (Version 1.19.2)

commented

Here's the relevant JSON:

        {
            "entities": [
                {
                    "entity": "minecraft:wither_skeleton",                                                                                         
                    "nbt": "{ArmorItems:[{Count:1,id:'minecraft:netherite_boots'},{},{},{Count:1,id:'minecraft:netherite_helmet'}],HandItems:[{Count:1,id:'minecraft:netherite_sword'},{}],ArmorDropChances:[0.0,0.0,0.0,0.0],HandDropChances:[0.0,0.0],Passengers:[{id:'minecraft:area_effect_cloud',Age:0,Color:0,Duration:2000,DurationOnUse:0,Effects:[{Id:20,Duration:100,Amplifier:1}],Radius:2.5,RadiusOnUse:0.0,RadiusPerTick:0.0,ReapplicationDelay:20,Particle:'minecraft:entity_effect',WaitTime:0}]}"
                },
                {
                    "entity": "minecraft:wither_skeleton",                                                                                         
                    "nbt": "{ArmorItems:[{Count:1,id:'minecraft:netherite_boots'},{},{},{Count:1,id:'minecraft:netherite_helmet'}],HandItems:[{Count:1,id:'minecraft:netherite_sword'},{}],ArmorDropChances:[0.0,0.0,0.0,0.0],HandDropChances:[0.0,0.0],Passengers:[{id:'minecraft:area_effect_cloud',Age:0,Color:0,Duration:2000,DurationOnUse:0,Effects:[{Id:20,Duration:100,Amplifier:1}],Radius:2.5,RadiusOnUse:0.0,RadiusPerTick:0.0,ReapplicationDelay:20,Particle:'minecraft:entity_effect',WaitTime:0}]}"
                },
                {
                    "entity": "minecraft:wither_skeleton",                                                                                         
                    "nbt": "{ArmorItems:[{Count:1,id:'minecraft:netherite_boots'},{},{},{Count:1,id:'minecraft:netherite_helmet'}],HandItems:[{Count:1,id:'minecraft:netherite_sword'},{}],ArmorDropChances:[0.0,0.0,0.0,0.0],HandDropChances:[0.0,0.0],Passengers:[{id:'minecraft:area_effect_cloud',Age:0,Color:0,Duration:2000,DurationOnUse:0,Effects:[{Id:20,Duration:100,Amplifier:1}],Radius:2.5,RadiusOnUse:0.0,RadiusPerTick:0.0,ReapplicationDelay:20,Particle:'minecraft:entity_effect',WaitTime:0}]}"
                },
                {
                    "entity": "minecraft:wither_skeleton",                                                                                         
                    "nbt": "{ArmorItems:[{Count:1,id:'minecraft:netherite_boots'},{},{},{Count:1,id:'minecraft:netherite_helmet'}],HandItems:[{Count:1,id:'minecraft:netherite_sword'},{}],ArmorDropChances:[0.0,0.0,0.0,0.0],HandDropChances:[0.0,0.0],Passengers:[{id:'minecraft:area_effect_cloud',Age:0,Color:0,Duration:2000,DurationOnUse:0,Effects:[{Id:20,Duration:100,Amplifier:1}],Radius:2.5,RadiusOnUse:0.0,RadiusPerTick:0.0,ReapplicationDelay:20,Particle:'minecraft:entity_effect',WaitTime:0}]}"
                },
                {
                    "entity": "minecraft:wither_skeleton",                                                                                         
                    "nbt": "{ArmorItems:[{Count:1,id:'minecraft:netherite_boots'},{},{},{Count:1,id:'minecraft:netherite_helmet'}],HandItems:[{Count:1,id:'minecraft:netherite_sword'},{}],ArmorDropChances:[0.0,0.0,0.0,0.0],HandDropChances:[0.0,0.0],Passengers:[{id:'minecraft:area_effect_cloud',Age:0,Color:0,Duration:2000,DurationOnUse:0,Effects:[{Id:20,Duration:100,Amplifier:1}],Radius:2.5,RadiusOnUse:0.0,RadiusPerTick:0.0,ReapplicationDelay:20,Particle:'minecraft:entity_effect',WaitTime:0}]}"
                }
            ],
            "modifiers": [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 3.0
                },
                {
                    "attribute": "generic.attack_damage",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 2.0
                },
                {
                    "attribute": "generic.armor",
                    "operation": "ADDITION",
                    "value": 15.0
                },
                {
                    "attribute": "generic.movement_speed",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.5
                }
            ],
            "rewards": [
                {
                    "type": "command",
                    "command": "gamerule sendCommandFeedback false",
                    "desc": "..."
                },
                {
                    "type": "command",
                    "command": "schedule function custom:wither_awaken 20s append",
                    "desc": "..."
                }
            ],
            "max_wave_time": 6000,
            "setup_time": 200
        }
commented

The json you have works verbatim on the current release.