How do i make a tool that changes drop from a block?

Started by Fackterguff on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make a tool that changes drop from a block?

I want to make a pickaxe, if you destroy an ore, it drops ingot, if you destroy a stone block it drops itself etc.

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
U mean something like fire…
Sun, 11/04/2018 - 01:24

U mean something like fire pickaxe from Thaum Craft 

You can try to set harvest level to 0 for your pickaxe than make procedure that will check on block destroyed with this item if block = iron_ore do spawn gem = iron_ingot than add else if to add more options

This should work

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't find a procedure…
Sun, 11/04/2018 - 10:51

I can't find a procedure that checks what block was destroyed...

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, I found out smth, but…
Sun, 11/04/2018 - 11:01

idkOh, I found out smth, but still... What should I place here?

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Place in that empty space :…
Sun, 11/04/2018 - 16:55

Place in that empty space : get block at x, y, z