Is it possible to make a block only breakable if a tool has a certain enchantment?

Started by MPZ on

Topic category: Help with modding (Java Edition)

Last seen on 14:55, 19. Apr 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to make a block only breakable if a tool has a certain enchantment?

Hello, I am currently working on a mod that brings back ancient knowledge.

and I was wondering if it'd be possible to make a block only breakable if it has this one custom enchantment applied onto it.

Last seen on 11:32, 30. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it's possible. There is a…
Fri, 04/05/2024 - 13:44

it's possible. There is a procedure "delete block at x y z, create destruction particles" use the trigger and condition you need and it will work

Last seen on 14:55, 19. Apr 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Let me give it a go, thanks
Fri, 04/05/2024 - 16:58

Let me give it a go, thanks