Skip to content

Guards Guns

Bored of your guards always dying the raids, give them guns and make the difference. Remember No Pillagers

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

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

About

Description

minecraft_title

GUARD GUNS

Mod focused on Implementing a compatibility and functions of guards with Tacz Mod.

What this adds:

  • Compatibily with Guards mod with TacZ allowing guards to use any weapon and custom weapons from the mod.
  • A new Inventory Slot for Ammo Boxes, Guards stores and uses their ammo there.
  • A fully Configurable mod, if you install Config Api Mod you can change the config in game! (remember to execute /reload command if you the changes ingame to sync with your world).
  • Guards spawning naturally with guns.
  • Guards ammo refill in nearby Ammo Storages blocks.
  • Full Custom Squad system and Smart AI feature when the guard uses guns (ofc configurable)
  • and maybe more functions on the future.

Requires:

Neoforge version:

  • Minecraft 1.21.1
  • NeoForge 21.1.x
  • TaCZ 1.2.0+
  • Guards 2.4.12+

Forge version:

  • Minecraft 1.20.1
  • Forge 47.x
  • TaCZ 1.2.0+
  • Guards 1.6.19+

Optional in Forge and NeoForge:

  • Cloth Config Api mod for client side config

Config:

  • WEAPON_WEIGHTS: *Weighted pool system* used for choose the weapons which the guards spawns with. Entries works with '<modid:gun_id>=<weight>' example: `"tacz:ak47=50"`, `"tacz:m4a1=30"`.
  • AMMO_MODE: Behavior of the ammo in guards. `INFINITEAMMO` the guard mag never runs out. `INFINITEMAGS` the mag run out but they are infinite. `NORMAL` normal behavior they use the ammo they spawn with and search for more in storages when low, default.
  • AMMO_FILL_PERCENT: How % *full is the ammo box that guards spawn with*.
  • AMMO_BOX_LEVEL: The Kind of *ammo box* the guards spawn with `0= iron`, `1= gold`, `2= diamond`.
  • REFILL_AMMO: `true` by default controls if guards refill their ammo on storages. Data: *if you give them the wrong ammo type they will exchange their ammo with one they can use in the ammo storage*.
  • REFILL_THRESHOLD_PERCENT: `%` of how *fill is they ammo box to execute the ammo refilling*.
  • REFILL_AT_NIGHT: `true` by default, this execute *the ammo refilling during night* if before mentioned conditions are met.
  • REFILL_COOLDOWN_SECONDS: Cooldown in seconds if ammo refills fails to retry again the ammo searching in nearby storages; `60 seconds by default`.
  • DEFAULT_ACCURACY_MULTIPLIER: Global gun Inaccuracy multiplier `=1.0` = normal aim. Above `>1.0` worse aim. Under `<1.0` better aim.
  • ACCURACY_OVERRIDES: Gun Inaccuracy multiplier per-gun or per-type: Known TaCZ types: **rifle, smg, pistol, sniper, shotgun, mg, rpg**. follows same logic as global aim example: `"sniper=0.4"`(better aim), `"pistol=2.0"`(worse aim) and `"tacz:type_81=0.5"`
  • FRIENDLY_FIRE: `true` by default, prevents guards from damaging other allied mobs like villagers, other guards or protected mobs(*affected by GuardMod config*)
  • GUN_SPAWN_CHANCE: on `100` by default, chance by `%` which a *guard spawns with guns or not*, if they do not spawn with guns *will spawn with default swords and crossbows*(*already spawned guards* doesn't get affected and guards that *spawned without guns can still use guns and ammo*)

-# The reason i made this mod is bc pillager gun mod port didn't allowed guard to use guns, then I remembered, hey i can Code in java then made this mod due that XD

Credits to TacZ dev team for making their wonderful mod, Guards devs for keeping that mod and more important to the creator of Pillager Gun mod, the idea of this mod born thanks to that mod.