Turret Mod Rebirth

Turret Mod Rebirth

129k Downloads

Turret Mod Rebirth

License Version Game API CurseForge project page

Twitter Mastodon Reddit Sponsor

Player Info

Get the mod on CurseForge: CurseForge project page


This Minecraft mod adds defense turrets that can protect you and your base from enemies.

To start, you need to craft the Turret Assembly Table, in which you can create anything related to this mod.
Recipes not only require items for the craft, but also consume power. Either you already have a compatible power system you can hook the table up to (Forge Energy and systems related to that are supported), or you can craft the Electrolyte Generator, which you can place right next to it and insert organic matter (potatoes, apples, etc.).

For more information on this mod, you can take a look into the in-game documentation (the "Turret Lexicon") - if you have Patchouli installed as well - or read the wiki (comin soon™).

Things to know

  • Right-clicking a turret with ammunition loads it up; with a repair kit you can heal it.
  • You want to move your turret? The "Turret Control Unit" (TCU) lets you dismantle it! You'll need a "Turret Crate" (or a chest on older versions) in your inventory for that, though.
  • You can place turrets only on solid ground. Basically any full cube or on top half slabs. Some can only be placed in water.
  • Upgrades can be given via right-clicking on a turret or using the TCU, within the upgrades tab. To take them out use the TCU (or dismantle it).
  • Some turrets have multiple types of ammo. If a turret is loaded with one type of ammo, right-clicking it with a different type will load it up with the new one and give you the previous one back.
  • The Turret Assembly Table and the Electrolyte Generator can be accessed via external means, like hoppers or pipes. Input to the (lower) sides, output from the bottom. Energy is flowing everywhere except the top part of the generator.

Demo video

coming soon™

Contributor Info

For Translators

You want to translate the mod to a language you're proficient in? There are two ways of doing so:

  1. Fork1 this repo and go to the src/main/resources/assets/sapturretmod/lang directory. Here you can find the already translated files. Either modify an existing one or create a new file2. After you've done your changes, make a pull request (PR)3.

  2. Copy the currently available english translation file (here) and create a new .json file2 somewhere (or download the file by right-clicking the link and choose Save Target/Link As..., optionally rename it). After you've done your changes, create a new issue and attach your file there.

For Developers

To contribute to this project via code, you will need

  • to know how to code with Java,
  • to know how to mod with Forge4,
  • an IDE of your choosing that can handle Java/Gradle projects. I recommend Eclipse or JetBrains IntelliJ IDEA.

Fork1 this repo to a directory of your choosing. If done correctly, you can import the repository as a gradle project with your IDE. Now make your changes and make a pull request (PR)3. I will review your PR and merge it, if there's no issues.

Footnotes

  1. How to fork a repo: https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop 2

  2. The file name needs to be [language_code]_[country_code].json (e.g. en_us.hjson for US english). Valid codes can be found here: https://www.fincher.org/Utilities/CountryLanguageList.shtml 2

  3. How to create a pull request: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork 2

  4. a beginners guide can be found here: https://moddingtutorials.org/