How to make a custom mob drop a custom item in Mcreator 1.9.0

Started by Mondo on Mon, 07/08/2019 - 23:34

Topic category: Help with MCreator's application

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to make a custom mob drop a custom item in Mcreator 1.9.0
Mon, 07/08/2019 - 23:34

The question is in the title: How do I make a custom mob drop a custom item in Mcreator 1.9.0? I looked up videos and this is my first time using this program and the videos showed that by making a procedure "When mob dies" it would "spawn gem" then why would be able to select the item that it drops but their version is older and has a different UI, so can someone pls tell me step by step on how to do it, Thank you.

0Upvote this forum topic
Last seen on 19:02, 30. Jul 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
So pretty much, to make a…
Tue, 07/09/2019 - 02:19

So pretty much, to make a custom mob drop for custom mobs, you have to add a new procedure element (name it [mob_name]drop or something, just to recognize it).

Then, once you're in there, make an If statement and the requirement for that should be "Random [0,1) ≤ 0.5", and that would be a 50 percent chance to drop it. Then, in the "do" area, put a "Spawn Gem at X Y Z" block (found in World Management). Then double tap the empty box and make it the drop you want.

Finally, click save and then go to your mob, and under "When mob dies", click the dropdown and select the procedure that you just made.

 

For example

 

[Event Trigger - triggered by external call or when: [No Additional Trigger] ]

     V

[If [ [Random [0,1)] ≤ [0.5] ]

Do [Spawn Gem [item] at: [X] [Y] [Z] ] ]

 

(Im sorry this is so unreadable lol, I don't know how to add a picture cuz im an idiot)

0Upvote this forum topic