How can I make it so that a custom ore only drops items when mined with a certain pickaxe

Started by BananaMan0509 on

Topic category: Help with modding (Java Edition)

Last seen on 03:36, 19. Jul 2023
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make it so that a custom ore only drops items when mined with a certain pickaxe

I'm trying to make a custom ore only drop items when mined with my custom pickaxe. I want it to be able to be mined with other things but it won't drop anything.

Last seen on 03:36, 19. Jul 2023
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok so I thought this might…
Tue, 11/29/2022 - 01:28

Ok so I thought this might work but it didn't.

 

https://postimg.cc/TKzNmDnp


Can this code be fixed so that it works? 

Last seen on 03:36, 19. Jul 2023
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm got it figured out
Tue, 11/29/2022 - 01:49

nvm got it figured out