Create projectile that is not consumed by ranged items.

Started by benl4b on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create projectile that is not consumed by ranged items.

I wanted to create a ranged combat item that doesn't consume projectiles (i.e. arrows or cartridges). I wanted to just leave the field for "Required Item for the Projectile" blank, but that needs to be filled out. I'm now working with 2023.4, but it always worked in the previous version, which is why it's only now becoming a problem for me.

If you need item itself to…
Mon, 12/25/2023 - 16:22

If you need item itself to be consumer like snowball, specify that item in the projectile.

To require no item, you should use procedures to fire such projectile from an item as in this case you don't need the full ranged item system for this to work.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, that's the problem: I'd…
Tue, 12/26/2023 - 05:31

Yes, that's the problem: I'd like to use the full ranged item system.

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to make a new…
Fri, 02/02/2024 - 18:17

You need to make a new procedure when you shoot the item to give the player one of the item you are attempting to fire.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is actually a good idea…
Sat, 02/03/2024 - 15:41

This is actually a good idea, but I'm a bit of a perfectionist... what if the player has all the inventory slots full?