Enchantment That Makes The Tool/Armor Drop Itself

Started by BastianCraftFuture on Sun, 05/22/2022 - 15:54

Topic category: Help with modding (Java Edition)

Last seen on 22:14, 23. Jun 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Enchantment That Makes The Tool/Armor Drop Itself
Sun, 05/22/2022 - 15:54

I'm trying to code different things now for a new mod, and i've come with an idea but i don't know how to make it.

It's an enchantment that drops the item that was enchanted with it when held by a random chance, I know it can be made with code but i don't know how, so, if you know more about this and you think you can help, write down below, it would be a big help

Last seen on 16:02, 17. Jun 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could try something like…
Mon, 05/23/2022 - 17:01

You could try something like this

 

h

Last seen on 22:14, 23. Jun 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh, thanks! I'll try to do…
Tue, 05/24/2022 - 22:12

Oh, thanks! I'll try to do something like that, like i said earlier, thanks! :D