promotional bannermobile promotional banner

Automated Defence

A simple turret mod for Fabric

Overview

Ever get tired of mobs sneaking up on you whilst you're minding your own buisiness? Don't want to stop mobs spawning altogether? Introducing the Automated Defence mod, a simple solution for a simple problem.

  • Consumes arrows (including spectral)
  • Uses bows and crossbows
  • Optional enchanted book slot for easy upgrades

Crafting

A crafting grid with a Dispenser on the top row, an Armor Stand in the slot below it, and a Grindstone in the slot below that. An Auto Turret is in the output slot.

The recipe uses vanilla items, making it easy to integrate into any modpack. Use a Dispenser, an Armor Stand, and a Grindstone in a crafting grid as shown above.

Usage

The Auto-Turret GUI. One slot for a bow, one slot for an Enchanted Book, and 9 slots for arrows.

Right-clicking a placed Auto-Turret opens the GUI. From here you can load the turret with a bow/crossbow and arrows, which will activate it. You can also provide an Enchanted book to apply Power, Punch, Flames, or Infinity to any bow in the turret. Enchantments stack, and will apply the highest of each from either the bow or the book.

The turret consumes the durability of the provided bow. Arrows and Tipped Arrows fired by the turret cannot be picked up outside of Creative Mode. Spectral Arrows can be picked up.

The turret picks a random mob in a 16x16 cube around it and shoots directly at that mob until it is further than 16 blocks away or is dead. Auto-Turrets fire at a rate of roughly 2 shots per second (10 ticks per shot).

Mod Support

The bow slot accepts any item that has the c:bows tag. By default this includes vanilla bows and crossbows.

The turret will target any mob that inherits the MobEntity class. In vanilla, this means it will target undead mobs, but not Slimes.

Please use this in your modpacks if you want to.

The Automated Defence Team

profile avatar
  • 4
    Projects
  • 3.2K
    Downloads

More from SnailCreature

  • Server for Beginners project image

    Server for Beginners

    • 361
    • Modpacks

    A collection of server-side performance and QoL improvements, whilst allowing Vanilla clients to connect.

    • 361
    • July 10, 2023
    • Modpacks
    • +2
  • Client for Beginners project image

    Client for Beginners

    • 1.4K
    • Modpacks

    A collection of client-side performance and QoL improvements, without breaking the Vanilla experience.

    • 1.4K
    • July 10, 2023
    • Modpacks
    • +3
  • Machines and Madness project image

    Machines and Madness

    • 179
    • Modpacks

    A modpack based on exploring the world by creating machines and doing magic.

    • 179
    • February 3, 2023
    • Modpacks
    • +2
  • Server for Beginners project image

    Server for Beginners

    • 361
    • Modpacks

    A collection of server-side performance and QoL improvements, whilst allowing Vanilla clients to connect.

    • 361
    • July 10, 2023
    • Modpacks
    • +2
  • Client for Beginners project image

    Client for Beginners

    • 1.4K
    • Modpacks

    A collection of client-side performance and QoL improvements, without breaking the Vanilla experience.

    • 1.4K
    • July 10, 2023
    • Modpacks
    • +3
  • Machines and Madness project image

    Machines and Madness

    • 179
    • Modpacks

    A modpack based on exploring the world by creating machines and doing magic.

    • 179
    • February 3, 2023
    • Modpacks
    • +2