How to make a Ranged Weapon in MCreator 2023.4

Started by Xx_RazerTime_xX on

Topic category: Help with modding (Java Edition)

Last seen on 23:32, 17. Mar 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a Ranged Weapon in MCreator 2023.4
Thu, 01/18/2024 - 03:25 (edited)

For those of you who, like me, couldn't figure out how the heck to make a ranged weapon, enjoy!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To begin with, create an Item.

Go into Advanced Properties

Click the check next to the part that says "Ranged Item"

Congratulations! If you found this tutorial helpful, umm.... like or follow or something? I'm new to this site so I'm not entirely sure how this works lol

Edited by Xx_RazerTime_xX on Thu, 01/18/2024 - 03:25
Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Might wanna mark this as a…
Wed, 01/17/2024 - 12:56

Might wanna mark this as a tutorial, the 'Help with Modding' category is for help requests. Also you don't need to use a scrollbox for text. But hey, welcome to the site! Good luck with whatever you're working on.

Last seen on 09:31, 24. Apr 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make it so that it…
Wed, 01/17/2024 - 20:59

How do I make it so that it works without the need for ammo?

Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This used to be pretty easy…
Wed, 01/17/2024 - 22:41

This used to be pretty easy just by setting ammo to air. With the latest update, it's a bit more involved, but still possible. You can technically lock the mod element and delete random stuff until it compiles... but you could also just forget making a ranged item, and instead make a normal item that, when right clicked, fires a projectile. (Since you can now make projectiles separately from ranged items.) There should be a 'shoot projectile' function that does this pretty effectively, and doesn't consume ammo.

Last seen on 23:32, 17. Mar 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! I just posted a new …
Thu, 01/18/2024 - 03:25

Thanks! I just posted a new (VERY work-in-progress) mod, feel free to check it out if you want, suggestions for new features more than welcome!

Last seen on 06:31, 16. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make it use ammo?
Mon, 02/19/2024 - 10:53

how to make it use ammo?

Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure for the …
Tue, 02/20/2024 - 21:51

Make a procedure for the 'item right clicked' trigger that removes an item from the player's inventory, or cancels the trigger if no item is found.

Last seen on 06:31, 16. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay Mindthemoods
Wed, 02/21/2024 - 10:37

okay Mindthemoods