0

I want to have an invisible blaze riding a bat so it looks like a bat is shooting fireballs. If I do /summon blaze ~ ~5 ~ {ActiveEffects:[{Id:14,Amplifier:1,Duration:999999,{Riding:{id:"Bat"}}}]}, it doesn't work. Could somebody help me?

5

When you're debugging commands, always make sure to edit them in an external editor, so you can have proper indentation. This way you can immediately see the errors.
This is your command:

/summon blaze ~ ~5 ~ {
    ActiveEffects:[
        {
            Id:14,
            Amplifier:1,
            Duration:999999,
            {
                Riding:{
                    id:"Bat"
                }
            }
        }
    ]
}

As you can see the Riding tag is still part of the compound list for active effects, which makes no sense. If you move that to the correct location:

/summon Blaze ~ ~5 ~ {
    ActiveEffects: [
        {
            Id:14,
            Amplifier:1,
            Duration:999999
        }
    ],
    Riding:{
        id:Bat
    }
}

The command works perfectly fine. Here again in one line:

/summon Blaze ~ ~5 ~ {ActiveEffects: [{Id:14,Amplifier:1,Duration:999999}],Riding:{id:Bat}}
  • 1
    thx really for the help – jeffrey1607 Jun 7 '15 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.