-1

So I'm having this command issue which doesn't seem to be going away anytime soon.

I have this command here, what syntax am I getting wrong, it just summons a husk, none of the desired effects

/execute @e[type=player,name=nimbusirrus] ~1 ~ ~ summon minecraft:husk {CustomName:"Milo-the-Dragonslayer",CustomNameVisible:1,CanPickUpLoot:0b,Health:40,Attributes:[{Name:"generic.followRange",Base:25},{Name:"generic.knockbackResistance",Base:0.25f},{Name:"generic.movementSpeed",Base:1.1f},{Name:"generic.attackDamage",Base:10}],HandItems:[{id:"minecraft:diamond_sword",tag:{ench:[{id:16,lvl:5}]},Count:1},{id:"minecraft:diamond_axe",tag:{ench:[{id:16,lvl:5}]},Count:1}],ArmorItems:[{id:"minecraft:diamond_boots",Count:1},{id:"minecraft:diamond_leggings",Count:1},{id:"minecraft:diamond_chestplate",Count:1},{id:"minecraft:diamond_helmet",Count:1}],ActiveEffects:[{Id:12,Amplifier:0,Duration:2147483647}]}
  • 1
    In cases like this: Always start with shorter, easier commands, then expand. – Fabian Röling Jan 22 '18 at 7:09
1

You are missing the coordinates for /summon:

/execute @e[type=player,name=nimbusirrus] ~1 ~ ~ summon minecraft:husk ~ ~ ~ {CustomName:"Milo-the-Dragonslayer",CustomNameVisible:1,CanPickUpLoot:0b,Health:40,Attributes:[{Name:"generic.followRange",Base:25},{Name:"generic.knockbackResistance",Base:0.25f},{Name:"generic.movementSpeed",Base:1.1f},{Name:"generic.attackDamage",Base:10}],HandItems:[{id:"minecraft:diamond_sword",tag:{ench:[{id:16,lvl:5}]},Count:1},{id:"minecraft:diamond_axe",tag:{ench:[{id:16,lvl:5}]},Count:1}],ArmorItems:[{id:"minecraft:diamond_boots",Count:1},{id:"minecraft:diamond_leggings",Count:1},{id:"minecraft:diamond_chestplate",Count:1},{id:"minecraft:diamond_helmet",Count:1}],ActiveEffects:[{Id:12,Amplifier:0,Duration:2147483647}]}

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.