Trident like weapon

Started by Taron on

Topic category: Help with modding (Java Edition)

Last seen on 21:22, 19. Jan 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trident like weapon

I want to make a throwable weapon like a trident/snowball that, when thrown, removes itself from you hand and after hitting a block or entity, returns to your hand. Any idea how to make this or if it is even possible?

Thanks.

Last seen on 10:54, 17. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First half: Easy. If you don…
Mon, 01/20/2020 - 00:18

First half: Easy. If you don't know, in the create mod element tab, there is one called Ranged item. Click on it. When you select item for ammo, you'll notice that you can't select what you're trying to make, because it doesn't exist. To make the item deal damage when used in melee, make sure to tick the check box next to melee damage. Put anything in the ammo require slot, and same for item representing texture of bullet. Once you click save mod element, go back through it and you will be able to change the bullet texture and ammo item to itself. As for returnable, I don't think that's possible, and if it is, then you will almost definitely need to code raw Java to make it.

Last seen on 23:16, 12. Nov 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks this is really…
Thu, 05/06/2021 - 15:07

Thanks this is really helpful!