Ranged weapon help

Started by myxical on Mon, 05/17/2021 - 09:54

Topic category: Help with modding (Java Edition)

Last seen on 23:25, 17. Mar 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ranged weapon help
Mon, 05/17/2021 - 11:59 (edited)

1. How do I make the projectile glow?
2. How to make the projectiles deal magic damage? I tried making a procedure that does some damage to the hit entity with the type "magic", but if I kill an entity using it the kill won't count (in the statistics). This can be a problem if there are advancements or quests to kill some entity.
3. How do I make it so my ranged weapon can shoot constantly when active with a higher cooldown? I don't see it anywhere and it would be a neat feature for the next update.
4. How do I disable gravity for projectiles so they don't fall down?
5. How do I make it so there is no invulnerability ticks on attacked mobs? There is a very short moment between hits that the attack won't register.
6. How to make ranged weapons use experience instead of ammo, and when xp = 0 then remove the ability to shoot?

Any help would be appreciated, thanks.

Edited by myxical on Mon, 05/17/2021 - 11:59