Topic category: Help with modding (Java Edition)
Hello Modders! Today I made a small tutorial to get a Staff that summon Minions! ( The Minions will always follow you and attack your ennemy ! )
Step 1 :
Create the Item you want to be the staff
Step 2 :
Create the minion mob. To make him follow you, put in the AI Tasks :
The Block used for the mob to follow me is " block.Air ". This is the first element of the Block Picker.
Step 3 :
Add thoses 2 Blocks in the Mob's AI, else he won't attack ennemy mobs
Note : It is important to tick or untick the things I tick/untick else it won't work
Step 4 :
Add theses blocks to make the Minion attack the selected mobs ( Make sure to untick In sight only and Nearby only! )
I selected Skeleton, Zombies & Creepers, but you can put more mobs by adding more of theses blocks !
Step 5 :
Now, save the minion and create a procedure called " Summon_Minions " ( or However you'd like ). Put this code in it!
Note : the Dark Steve is the minion I made, so don't search for it xD
Step 6 :
Go back in the code of your summoning staff, and on the " When right clicked on block ( hand loc. ) ", put the " Summon_Minions " procedure.
Step 7 :
Tadaa! Enjoy your new minion w/ summoning staff!
Nice tutorial :)
Thx :D
good tutorial :D
Thanks :)