Data Packs Technology

Turrets 1.1 - NightLight Series

  • 1k views 2 today
  • save_alt 66 downloads 1 today
Compatibility
Minecraft 1.21
Changes include
  • Functions
  • Loot Tables
  • Predicates
  • 12
  • 11
  • 5
PuddleSpout
Lvl 10Journeyman Mage
5
Turrets - NightLight Series is currently in 1.1!

Turrets is my first datapack (and first ever) in a series of datapacks (dubbed NightLight) created for my applicable Minecraft server featuring all my datapacks. Most datapack will not be public and only members of the server will be able to experience much of the content I create.

This is not self-advertizing, I'm only letting people know why it's named NightLight Series as well as speaking directly to those of my server who will be viewing this pack.


Have you ever thought "Man, I really think it would be cool if I could have simple, automated, powerful defenses without causing so much lag and issues!"?

No? Well I'm so good I knew you wanted it even before you did!

Find a wandering trader, give him a heavy core and some emeralds, and you've got the best defense that the Emerald Defense Coalition can offer!
Or you can use /function dispenser_turret:give_turret


If you want to re-position a turret or store it easily, you can always punch it 3 times with any tool or hand to break it down and get your spawn-egg back!

You can additionally change turret modes by right-clicking a turret that's already placed.

Current Turret Modes
Normal
Simply fires high damaging projectiles at any enemies within range! Nothing too special about this one and it may not be the best for all situations, but it can certainly get the job done.

Minigun
This one has lower range, but it's very very fast with a high ammo capacity! And instead of dealing heaps of damage; this turret will deal slowness 5 for 10 seconds. Amazing for defense, but not the best for offense.
Additionally, this turret will prefer to shoot at enemies without slowness, so no need to worry! Even if there are no enemies without slowness it'll just keep shooting anyway!

1.1 Update - Will also prefer to fire at nearer targets. Making it MUCH MUCH better for defense.

Firework
This one is my personal favorite (but by a very small margin). It can fire bursts of big fireworks, that not only have a higher blast radius than normal fireworks, but also travel almost instantly! Depsite this turrets slow fire rate it still can clear hordes with relative ease.

1.1 Update - Prefers to target clusters of targets rather than individuals.

Flame
This is where it starts to get really advanced! The flame turret is somewhat similar to it's Firework counterpart. But instead of shooting fireworks in burst, this sentry will fire one big fireball that sets a large area on fire as well as any targets in the vicinity!
This turret is GREAT for chokepoint defense as well as defense in general, making it easily one of the best choices for defending against raids, or holding a point.
However, do be careful as this turret has been known to cause... unwanted damages.

1.1 Update - Prefers to target clusters of targets rather than individuals.

Mortar
By far the most powerful sentry we have to offer as it's capable of killing withers and wardens in just a few hits!
This sentry is embued with magic from our highest of mages, and when it spots an enemy with it's 100 block range it will fire a beam of magic into the sky, before lightning will strike the enemy where it stands, and will also cause a small area of effect that somewhat damages mobs around it. It can even target indoors and underground!
Despite being in the very early stages of this ones development it's still more than capable of handling offense as well as minor-defense.

1.1 Update - Can target 5 targets at once instead of 3, and also is unable to fire at targets that are underground.




The Emerald Defense Coalition is not responsible for any friendly fire incidents or collateral damages that may be cause by these tools. Any issues with how operations are held or handled must be taken directly to PuddleSpout and will be handled swiftly. Thank you for your patience and cooperation.

This is my first public datapack ever, so do expect bugs and if you encounter any please report them in the comments and I will handle them as soon as I am available.

Additionaly, if you have any suggestions let me know as well.

1 Update Logs

Update 1.1 : by PuddleSpout 10/07/2025 7:44:17 pmOctober 7, 2025 @ 11:44 pm UTC

Turrets now have a quick deploy animation, it's not exactly how I want it to be but it's good for now.
The Minigun now will also prefer to fire at nearer targets. Making it MUCH MUCH better for defense.
Fireworks and Flame prefers to target clusters of targets rather than individuals.
The Mortar can target 5 targets at once instead of 3, and also is unable to fire at targets that are underground.

More like this

  Have something to say?

MinhoCreates
10/04/2025 2:45 pm
Level 64 : High Grandmaster Engineer Dinosaur
AYOOO BROO SHEEEESH the work you did is awesome! One of the best ideas and execution I have ever seen here 👀 I do love it a lot. Even though you didn't use resourcepacks it looks super polished. Please keep the good work! Consider me a fan ^^
2
lullaby6
10/03/2025 9:36 pm
Level 54 : Grandmaster Miner
Nice datapack bro! but is too OP, Perhaps enemies could break it, making it even more expensive. Just as there are new weapons to fight monsters, there could be enemies that counter the turrets, etc. It doesn't make much sense for the wandering trader to sell them to you either.
2
PuddleSpout
10/03/2025 9:53 pm
He/Him • Level 10 : Journeyman Mage
I don’t really think it’s too overpowered. Sure, it can one-shot single enemies, but it’s usually going to be paired with hordes from other datapacks I’m making, and it’s meant to be a power fantasy. That said, if people genuinely feel it’s too strong, I can always nerf it.


Getting a heavy core isn’t easy either, it takes at least an hour of dedication and a lot of luck just to get one. I do like the idea of enemies fighting the turrets, but if there are more than 5 enemies in the area of a turret, they can usually walk right past it anyway, which would make the turret kind of pointless if it was easily destroyed.


As for the wandering trader, I like keeping it as part of this system since I plan on improving it with other datapacks. I see them as high-ranking officials or weapon suppliers for both villagers and illagers, which is why I chose them. It just makes sense for the role they’re playing.
1
lullaby6
10/08/2025 1:47 pm
Level 54 : Grandmaster Miner
In the video you only showed the turret against normal enemies and a vanilla raid. I don't understand how you don't see an infinite, indestructible laser turret that kills enemies with a single shot as OP.

The turret doesn't need to be easily destroyed. You can give it the same or double the health of the iron golem (or more?), and you can even repair it with iron or copper ingots. Even if it is completely destroyed, part of it remains and you can fix it with an anvil or iron block.

The wandering trader who only sells natural items is now selling you an indestructible turret? I don't see how that makes sense. You could expand the villages with a turret forger's house or build a structure with a special villager selling that, or simply crafting recipe
2
PuddleSpout
10/08/2025 8:23 pm
He/Him • Level 10 : Journeyman Mage
I spawned several turrets because its fun. But a single turret (which is likely all you'd get on any world) isnt too capable of fending off an entire raid by itself, sure it makes it significantly easier but it's still a challenge. But, again it's meant to be paired up with my other datapacks that do drastically increases the number of enemies and strength of them.

The wandering trader sells exotic and rare goods that arent typically available in your area. Additionally wandering traders are not too common in most cases. A crafting recipe feels too basic and boring. A house or special villager is too complex for "simple turrets"
1

Welcome