Anyone know how to program special bullets?

Started by Vegetto on

Topic category: Advanced modding

Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone know how to program special bullets?

I am looking for help in creating two types of special bullets: One that follows and entity until it hits, much like a homing missile; a bullet that will slow down the entity it hits; and lastly, a bullet that leaves some sort of mark on the entity when hit (similar to that one arrow in i believe 1.9 minecraft). I've tried to make a bullet give slowness to an entity, but the player gets the same effect, which i don't want to get.

Here's an example of what i mean for the bullets that follow an entity. 

As you can see, the bullets will move to hit the nearest person, but in my case, I want it to, after being shot, curve to the nearest entity that isn't the player that shot them. Could anyone with exceptional coding knowledge be able to help me out?

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can make custom projectiles
Wed, 03/01/2017 - 00:55

I can make custom projectiles but for 1.7.10

Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't know if bumping the…
Fri, 04/03/2020 - 01:22

Don't know if bumping the post to recent is allowed or not, but 2 years later i finally got back into mod making, so if there is anyone that can help me, that'd be awesome!

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bumping is not allowed…
Fri, 04/03/2020 - 04:00

bumping is not allowed.....

Wow you remenber your password after 2 years wtf

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe something like a…
Fri, 04/03/2020 - 04:45

maybe something like a shulker projectile