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

Started by Mondo on

Topic category: Help with MCreator software

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a custom mob drop a custom item in Mcreator 1.9.0

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.

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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)

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I cant add the random to the…
Thu, 05/14/2020 - 18:00

I cant add the random to the if and do logic thing what else do i add to connect them?

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a block in logic…
Mon, 08/10/2020 - 13:33

There's a block in logic operations that connects numbers to if: do loops, but you need two number blocks for them. Just pull the dark blue block out of logic operations.