header
logo

K-Turrets

Install
screenshot imagescreenshot imagescreenshot imagescreenshot imagescreenshot imagescreenshot image
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail

Description

This mod adds some turrets and combat drones to eliminate your enemies and protect areas from them. All turrets and drones have targeting configurable per mob type; default targets include all potentially aggressive mobs.

To get started, you will need to obtain raw titanium from titanium ore, then smelt it in the blast furnace to get titanium ingots.

There are following types of turrets:

 

1. Bullet turret.

This turret uses iron nuggets and gold nuggets as ammo and shoots iron or gold bullets. Iron bullets do more damage than gold ones.

 

2. Arrow turret.

This turret can use all vanilla arrows as ammo. It needs to have a bow or crossbow to function. Punch, power and flame enchantments on the bow are usable by the turret. Crossbow adds 20% damage to arrows.

 

3. Brick turret.

This one uses bricks and netherbricks as ammo. Netherbricks deal more damage.

 

4. Fire charge turret.

This turret uses explosive powder as ammo and shoots fireballs. It doesn't target fire-immune mobs, because they are immune to its fire balls. Explosive powder is crafted from gunpowder and blaze powder.

 

5. Gauss turret.

Gauss turret uses special bullets - gauss bullets, and shoots very fast projectiles.

 

6. Cobble turret.

This turret uses cobblestone as ammo, and has lowest damage of all.

 

And there are 6 corresponding drone types. Unlike turrets, drones are flying and can follow their owner. Their stats are derived from corresponding turret stats.

 -

-

-

-

-

-

 

Storage drone

There is a special drone - storage drone, which acts as a flying inventory.

Custom ammo (1.20.1+)

You can define custom ammo for units using a datapack. The layout of the datapack must be following:

-data

  --k_turrets

      ---tags

           ----items

             arrow_unit_ammo.json

             brick_unit_ammo1.json

             brick_unit_ammo2.json

             bullet_unit_ammo1.json

             bullet_unit_ammo2.json

             cobble_unit_ammo.json

             fireball_unit_ammo.json

             gauss_unit_ammo.json

These Json files are item tags.

Brick and bullet units have two tags, first has ammo that deals less damage, and second has ammo that deals more damage. 

Configuration

Health, range, armor, fire rate and damage can be changed for each turret type.

Drone health is 83% of the turret health, and armor is 34% of turret armor.

You can set turret and drone limit per player and per dimension on the server in the config, which is located in "world/serverconfig" directory.

You can define mobs that will be excluded from default targets.

You can set at what distance drones will stay from the owner when attacking mobs.

In-game configuration

A turret/drone can be toggled to be mobile/immobile - basically determines whether you can push it around.

To access its inventory, right click on it.

To access its configuration screen, Shift + right click on it.

If you use this mod on a server and you want your turrets/drones to shoot at other players that aren't your teammates, you can set it in the UI.

You can exclude players from turret/drone targets by typing player name prefixed by an exclamation sign like '!Krosenut".

Other features

To repair it, Shift + right click it with a steel/titanium ingot.

Claimed turrets/drones also don't damage their owner and other turrets/drones with the same owner.

You can put turrets into minecarts.

You can use hoppers to insert ammo into turrets/drones. Or you can enable ammo refill from adjacent inventory.

You can hold key 'K' to highlight locations of your drones around 128 block radius:

 

To copy target filters and exceptions from one turret/drone to others, use Target Copier.

To automate drone ammo reloading, use Ammo Reloader. It reloads drones around 6 block range.

You can turn on drone sound in the client config.

If you want turret and drone projectiles to ignore damage cooldown, use this datapack (for versions 1.20.1 and up).

Detailed overview

Here is my Discord server, where you can get faster support - https://discord.gg/MYxxMfctWx.

Fabric version

Notes:

drones can get stuck on small blocks like pointed dripstone.

FAQ

Q. Can you improve turret/drone textures?

A. No. I am not good at art. But I do change them sometimes.