projectile bounces back from entity

Started by MHK on

Topic category: Help with modding (Java Edition)

Last seen on 20:45, 14. Sep 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
projectile bounces back from entity

I made a minigun and it shoots projectiles realy fast so when i shoot at a entity some of them bounces back and if i try to shoot at entity from up it stays at entity head. I think that happens because if you shoot at entity it becomes immune to demage for like 5 ticks but i want to disable that. I tried to modify entity data with commands  (i set HurtTime to 0) but it didn't work. 

 

 

 

Last seen on 04:06, 14. Sep 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could make the…
Wed, 08/21/2024 - 15:00

You could make the projectile entity despawn after it hits the target, make sure you don't switch it up and despawn what you shoot or the player shooting or that'll be overpowered or will have some weird results lol.