ps-dps / MobCaptains

Rare and strong mobs, dropping illegally enchanted gear
https://modrinth.com/datapack/mob-captains
MIT License
6 stars 0 forks source link

Spawn a captain manually #25

Closed Cosmeak closed 9 months ago

Cosmeak commented 9 months ago

I add to the loot table an item and want to test it, but can't find any command to summon a captain, did the datapack have one ?

And i accidentally transform myself has a captain and can't remove it, did you have any idea on how to remove on myself ?

PS: your datapack is so cool, everyone on our server love it. Thank you for it

PuckiSilver commented 9 months ago

Hey!

You can’t directly spawn them, you rather convert a mob to a captain. To convert a zombie into a legendary mob captain, run the following command while standing next to it:

execute as @e[​type=zombie,limit=1,sort=nearest] run function ps-mob:convert/legendary

You can change the type and rarity to your needs

In this issue are commands to un-MobCaptainify yourself

Thank you! Glad you and your friends are enjoying the pack :D

Cosmeak commented 9 months ago

Thank you so much for your quick answer, that exactly what we wanted!