Small Tutorial : Making a staff summoning minions following you! ( 1.7.8 MCreator & + )

Started by BLDragon on Fri, 12/28/2018 - 10:33

Topic category: Help with modding (Java Edition)

Last seen on 17:54, 9. Feb 2019
Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Small Tutorial : Making a staff summoning minions following you! ( 1.7.8 MCreator & + )
Fri, 12/28/2018 - 10:33

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 :

Follow < Block.Air > with speed 1 scared of movement ( unticked )

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

Attack Targets & Attack on Melee

 

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! )

a

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!

e

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!

Last seen on 17:54, 9. Feb 2019
Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thx :D
Fri, 12/28/2018 - 13:14

Thx :D

Last seen on 20:59, 1. Feb 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
good tutorial :D
Fri, 12/28/2018 - 16:34

good tutorial :D

Last seen on 17:54, 9. Feb 2019
Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks :)
Fri, 12/28/2018 - 17:06

Thanks :)

Last seen on 06:27, 26. Nov 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
really cool tutorial made me…
Wed, 11/03/2021 - 08:41

really cool tutorial made me realise i was overcomplicating my minion plan so thanks for the easy tutorial also is there a way to make the staff summon only a certain amount of minions and only follow the summoner?

Last seen on 04:33, 26. Nov 2022
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For following the summoner …
Wed, 12/29/2021 - 15:27

For following the summoner (if you mean, the item in your hand) all you have to do is change the follow item in hand from Air to the item you want. For the minion number limit, you could add a variable to control them. This would be a player lifetime variable that initializes on 0 and grows by 1 everytime you use the summoning staff. You can add a condition that checks if the summoning number is less than 3 for example, and if it is you can summon new minions. To clear the variable you can add like a timer that each 10 seconds, despawns the entity and removes 1 from the Minion count, this can also be applied if your summon gets killed. Hope this helps