Summon Command Changes
Hey there!
In our server (1.20.1) we had a couple of structures using command blocks and /summon command to summon minions but after upgrading to 1.21 it has been broken, does anyone know of an online tool that can change these summon commands into the new format ?
thanks alot in advance folks, you're life savers!
ex:
minecraft:summon minecraft:wither_skeleton -658 83 134 {CustomName:'[{"text":"Royal Vanguard","color":"yellow"}]',CustomNameVisible:1,PersistenceRequired:1b,Health:50,Attributes:[{Name:"generic.maxHealth",Base:50}],HandItems:[{id:"minecraft:diamond_sword",Count:1,tag:{Enchantments:[{id:sharpness,lvl:5},{id:fire_aspect,lvl:2},{id:unbreaking,lvl:3},{id:mending,lvl:1}]}},{}],HandDropChances:[0.3F,0F],ArmorItems:[{Count:1,tag:{Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:5},{id:unbreaking,lvl:3}]},id:"minecraft:diamond_boots"},{Count:1,tag:{Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:5},{id:unbreaking,lvl:3}]},id:"minecraft:diamond_leggings"},{Count:1,tag:{Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:5},{id:unbreaking,lvl:3}]},id:"minecraft:diamond_chestplate"},{id:"minecraft:diamond_helmet",Count:1,tag:{Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:5},{id:unbreaking,lvl:3}]}}],ArmorDropChances:[0F,0F,0F,0F]}
5 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by themarsist#0
Not sure about convertin em but you can create updated commands with https://mcstacker.net/
Select /summon and you should be good to go
yea ended up doin just that, ty mate
Item Command Converter | PaperMC Docs
A tool to update commands from the old NBT-based item format to item components.
paper has a tool for it
can change it to entity for summon i think