Enchantment That Makes The Tool/Armor Drop Itself

Started by BastianCraftFuture on

Topic category: Help with modding (Java Edition)

Last seen on 20:57, 18. Nov 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment That Makes The Tool/Armor Drop Itself

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 20:38, 3. Apr 2024
Joined Apr 2020
Points:

User statistics:

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

You could try something like this

 

h

Last seen on 20:57, 18. Nov 2022
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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