Is it possible to make a vanilla block drop a custom item ONLY if i use a modded pickaxe?

Started by Virgil77 on

Topic category: Help with modding (Java Edition)

Last seen on 02:04, 3. Mar 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to make a vanilla block drop a custom item ONLY if i use a modded pickaxe?

recently it got into my head that i wanted to make diamond ore drop a custom item, but only if i use a specific modded pickaxe on it. is this possible at all?

Last seen on 22:17, 9. Apr 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use when block is destroyed…
Tue, 03/01/2022 - 22:19

Use when block is destroyed by tool trigger Then Do: if provided blockstate {selected Block} do: spawn gem/item {selected item} at x,y,z.