NEED HELP creating an enchantment

Started by milkycashews on

Topic category: Help with modding (Java Edition)

Last seen on 12:59, 25. Mar 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NEED HELP creating an enchantment

i'm creating an enchantment for boots that prevents the user from trampling farmland (doesn't turn into dirt and leaves crops as they are) but it won't work. I've tried everything. Please help because i feel like i made a stupid mistake and just can't see it. I've attached an image of my code.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Instead of replacing the…
Sun, 06/04/2023 - 15:09

Instead of replacing the block couldn't you cancel the event

Last seen on 12:59, 25. Mar 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i do that? I'm…
Sun, 06/04/2023 - 15:53

How can i do that? I'm trying to make the enchantment  in such a way that farmland can't be trampled when you jump or land on it.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the advanced section for…
Sun, 06/04/2023 - 15:56

In the advanced section for procedures theres a block called Cancel event that triggered global trigger

Last seen on 12:59, 25. Mar 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh i found it thank you so…
Sun, 06/04/2023 - 16:11

oh i found it thank you so much!