how do i make a sentry turret that shoots projectile at players.

Started by thatdudepeter on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 weeks ago
Joined Mar 2024
Points:
75

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
how do i make a sentry turret that shoots projectile at players.

i have been trying to make a sentry turret that sits still looks at the player always and shoots at nearby players, kinda like an automatic robot mini gun, but idk everything i try doesnt work right, the bullets dont go straight, and everytime it shoots it faces 90 degrees away from the player and shoots very inaccurately i jt want someone who could help me make it right. thx

Active 2 hours ago
Joined Apr 2024
Points:
346

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 427
make a projectile and set…
Fri, 07/26/2024 - 16:56

make a projectile and set the required item to void air, then make an entity (the sentry turret) without ai and two procedures:

https://imgur.com/Z3ds9O2 (in the triggers tab of the entity set this procedure to the trigger "on entity tick update")

https://imgur.com/Dvu04KY (in the triggers tab of the projectile set this procedure to the triggers "when projectile hits living entity" and "when projectile hits block")

Active 3 weeks ago
Joined Mar 2024
Points:
75

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
thank you soooo much! i…
Fri, 07/26/2024 - 18:21

thank you soooo much! i wanna have nicey time with you, you dont know how much fast replies mean to me

 

Active 2 hours ago
Joined Apr 2024
Points:
346

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 427
You're welcome
Fri, 07/26/2024 - 18:48

You're welcome

Active 3 weeks ago
Joined Mar 2024
Points:
75

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
hey is there any way i can…
Fri, 07/26/2024 - 21:32

hey is there any way i can contact you? maybe discord. the rotation still doesnt work well, idk if it is a problem with my model or jt mcreator, thx

Active 12 hours ago
Joined Apr 2024
Points:
345

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 427
my discord username is bo…
Sat, 07/27/2024 - 00:26

my discord username is bo_bo590

Active 1 week ago
Joined Apr 2023
Points:
228

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
tried this and my entity…
Sun, 01/12/2025 - 20:48

tried this and my entity only faces one direction sadly.

Active 12 hours ago
Joined Apr 2024
Points:
345

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 427
that's weird, it should work…
Mon, 01/13/2025 - 22:34

that's weird, it should work, are you sure you did everything right?

Active 1 week ago
Joined Apr 2023
Points:
228

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
I managed to figure it out.
Thu, 01/16/2025 - 02:07

I managed to figure it out.