K-Turrets

Quick rating

Community listing page, reviews here may not be monitored by the author.

K-Turrets

By KrosenutOwner

No reviews yet

Adds 6 turrets and combat drones to eliminate enemies

Mod Loaders
Minecraft

About

Description

This mod adds 6 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.

FAQ

Q. Can you improve turret/drone textures?

A. The textures and models have been improved.

Q. Something is not working as expected or is missing

A. You are not using the latest mod version.

Q. Where does titanium ore generate?

A. It generates everywhere in the overworld. If it doesn't, ask the modpack author whether he has disabled it.

Q. How to remove turrets/drones?

A. Open their UI by Shift + right clicking and press 'Dismantle'.

There are following types of turrets:

1. Bullet turret.

This turret usesbullets as ammo and shoots bullets.

1HUL8nh.pngdescription_acba309b-b036-4d84-9c26-22cc42499330.png

2. Arrow turret.

This turret can use all vanilla arrows as ammo. Punch, power and flame enchantments on the bow are usable by the turret.

description_2e8e406e-5544-4602-bc3b-3f10e4459e9c.png

3. Brick turret.

This one uses bricks and netherbricks as ammo.

description_95c00197-3dc1-4ffe-9477-b83fd8cfd8b1.png

4. Fire charge turret.

This turret uses explosive powder as ammo and shoots fireballs. Explosive powder is crafted from gunpowder and blaze powder.

G64BOx.pngdescription_0360ac5a-d4f5-4ac1-a790-fd1fa1039feb.png

5. Gauss turret.

Gauss turret uses special bullets - gauss bullets.

6. Cobble turret.

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

description_38ffc5c0-fcf4-4b20-9ea7-d5d32b1a130b.pngdescription_a273d5c9-1bc9-434d-b61b-ca80b1227702.png

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.

 description_c584785f-d6d8-4045-95af-472f592462c5.png

description_6f8ecb90-0e95-49c4-8673-91727331aa5b.png

description_9e2a6bcf-215a-4c76-a2f5-01ab0db6e59b.png

description_328f9364-63a4-4692-ac97-70907fbf67cb.png

description_8bbf7eae-da7a-400e-95fa-f79d79c06109.png

description_8f48a10d-b09a-4dba-8048-11c3980e0d32.png

 

Storage drone

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

description_510c594e-da0c-4c30-ba8b-ebdd1973eb06.png

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_ammo.json

             bullet_unit_ammo.json

             cobble_unit_ammo.json

             fireball_unit_ammo.json

             gauss_unit_ammo.json

These Json files are item tags.

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.

Old turret models can be enabled.

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".

Need cloud services? Get 200$ credit for 60 days to try in Digital Ocean: https://m.do.co/c/301d907b1db6 

 

Other features

To repair a unit, Shift + right click it with an item that is in "k_turrets:unit_repair" tag. It has titanium ingot by default.

Turret can have following upgrades:

  • Experience link - mobs killed by the unit will drop experience
  • Fire shield - gives immunity to fire damage
  • Looting link - mobs killed by the unit will drop items that require the mob to be killed by a player

Drone can have all turret upgrades, and the following:

  • Lantern - will be accompanied by a light block
  • Recall upgrade - will teleport to the owner if farther than 128 blocks

Storage drone can have lantern, recall upgrade and item magnet (attracts items to the drone and places them inside).

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

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.

Credits

Theguy27 - 5 new turret models

Arquiteto - new item icons

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

Detailed overview

Notes:

drones can get stuck on small blocks, this is a vanilla bug.

For mod developers (for Neoforge 1.21.1):

You can send message via intermodcomms with following methods:

  • "addTargetException" with entity identifier to add the entity to target exceptions
  • "addDefaultTarget" with entity identifier to add entity to default target list

K-Turrets add 6 types of turrets and 6 types of drones. Turrets attack potentially hostile mobs by default, but they can be configured to attack any mob type. Drones act like turrets, but are mobile and able to follow their owner.

Versions for 1.21.1 and later are here.

To get started, you must obtain raw titanium from titanium ore and smelt it in the blast furnace to get titanium ingots. Then you can craft turrets and drones, their recipes have following patterns:

a dispenser, 6 titanium ingots and type-specific ingredients on the side;

a dispenser, 4 titanium ingots, 2 feathers and type-specific ingredients on the side:

First thing to do when you place a turret or drone is to claim it. It is done via a UI that is opened by Shift + right-clicking on the drone/turret:

In this screen on the left are listed all target entity types. You can add  new targets by typing their ids in the text field. There is a button for clearing this list and resetting it to default values. Another button toggles turret/drone mobility, which determines whether it is pushable. To remove targets, press corresponding buttons - they will appear crossed out, and when you close the screen, they will be removed. To enable protection from alien players, add "minecraft:player" to the targets and toggle "Not protecting from alien players" button. Turrets/drones take into account Minecraft team system and will then attack players who are not on your team. Button "Dismantle" will dismantle the turret/drone, dropping it in item form (its data will be saved on the item and will load when you replace it). Drones have a toggle button which controls whether they are following their owner.

You can add specific players to target exceptions by typing in player name prefixed by exclamation mark. Such exceptions will appear at the top of the target list.

Right-click a turret or drone to access its inventory, where you can load it with appropriate ammo.

You can repair a drone/turret by Shift + right-clicking it with titanium ingot. Turrets recover 1/6 of health from one ingot, and drones - 1/4.

Turret health, armor, damage, range, and fire delay can be configured for each turret type. Drone stats are derived from respective turret's stats.

There are following types of turrets and drones:

Cobble. They use items under "stone_tool_materials" as ammo.

Arrow. They can use all types of arrow as ammo, and need a bow or crossbow to function. Crossbow adds 20% to damage. Flame, punch and power enchantments are applicable.

Fireball. They use explosive powder as ammo, which is crafted from blaze powder and gunpowder; immune to fire and do not attack fire-immune mobs.

Bullet. These use iron and gold nuggets as ammo. Iron bullets deal more damage.

Brick. These use bricks and nether bricks as ammo. Nether bricks deal more damage.

Gauss. These use gauss bullets as ammo.

When on a server, this mod have limits of turrets and drones per player. Default values are 10 turrets and 10 drones.

Detailed overview (contains latest information).

This mod adds 6 types of turrets and 6 types of drones. They have configurable mob targeting (per mob type). Default targets include all potentially aggressive mobs. To get started, you need to obtain raw titanium from titanium ore, then smelt it in the blast furnace to get titanium ingots. Ore generates everywhere in the overworld.

There are following types of drones and turrets:

  • Cobble - use items under 'stone tool materials' tag (includes cobblestone, blackstone, cobbled deepslate).
  • Fireball - use explosive powder as ammo (crafted from gunpowder and blaze powder)
  • Bullet - use gold and iron nuggets as ammo (iron nuggets provide more damage).
  • Arrow - uses all arrows as ammo. Requires a bow or crossbow to work. Can apply Flame, Power and Punch enchantments.
  • Brick - use bricks and nether bricks as ammo.
  • Gauss - use gauss bullets.

There is also a storage drone, that can carry items.

To access unit inventory, right click on them.

To access their configuration screen, Shift + right click on them.

They can be toggled to be mobile or immobile - determines whether you can push them.

You can exclude players from targeting by typing in player name prefixed by exclamation sign.

On the server there are limits how many drones and turrets can a player have, default is 10 turrets and 10 drones (can be changed).

In the config you can also change each turret/drone health, range, armor, fire rate and damage. You can also set custom ammo for turrets/drones.

You can use hoppers to insert ammo into them, or you can enable ammo refill from adjacent inventory. You can copy target filters using Filter Copier.

Detailed info can be found here.

Drones can stick to small blocks like dripstone and cables.

If you are missing new options in the config, you must delete the config to generate them.