Change custom drop with different harvest tool level (need HELP)

Started by Ramuron2 on

Topic category: Help with modding (Java Edition)

Last seen on 10:02, 6. Nov 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change custom drop with different harvest tool level (need HELP)

Hello there :D

I started a few days ago with a new mod. I'm currently adding a few new ores. with the "Copper" Ore (Ingot based) I faced a problem. What I want:

CopperOre should drop itself if destroyed by harvest tool level 2+ (iron pickaxe or better) --> this one works fine

But I want also that:

CopperOre should drop CopperNugget (1x-3x [random amount]) if destroyed by harvest tool level 1 (stone pickaxe)

 

I think adding the copper ore twice doesn't work because it would spawn twice as much and I could destroy half of the blocks with the stonepickaxe and half of the blocks with ironpickaxe only.

Thank you for your help, I don't know how to add this by feature or by coding. If I have to Code it, please tell me what and where in the console.

Have a nice day :D

Last seen on 10:02, 6. Nov 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've heard I can do it with…
Thu, 01/30/2020 - 20:51

I've heard I can do it with procedures. If I start with "When block breaks" I want to add "Drop Item (CopperNuggets)" Amount 1x-3x"

How can I do this in procedures? Where can I find "Drop Item ___ " ?

Last seen on 05:50, 2. Jun 2023
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure the…
Thu, 01/30/2020 - 22:57

I'm pretty sure the procedure your looking for is called "spawn gem _"