Back to mods
[TACZ] NPCs project artwork

Modrinth · Minecraft mod

[TACZ] NPCs

Fully animated neutral and enemy NPCs with loot tables and proper player-like TACZ shooting.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which [TACZ] NPCs release should I use?

Updated last month
Latest stable file 2.1.0
Game version 1.20.1
Loader Forge

[TACZ] NPCs 2.1.0 targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is [TACZ] NPCs required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does [TACZ] NPCs 2.1.0 need?

2.1.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install [TaCZ] Timeless and Classics Zero first. We found matching files for this game-version and loader setup.

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add [TACZ] NPCs without breaking your instance.

Built for [TACZ] NPCs 2.1.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.1.0. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install [TaCZ] Timeless and Classics Zero first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.1.0. It opens that exact file at the source.

About this project

What does [TACZ] NPCs add?

Requirements

  • TACZ

Features

  • Rendering and use of armors and TACZ guns - NPCs will use TACZ guns from any addon pack just like a player would, including rocket launchers, grenade launchers and flamethrowers, to name a few.

  • Full PlayerAnimator and Player skin support - NPCs will use animations from PlayerAnimator and can be configured with Player names and skins

  • Configuration - Extensive configuration files which can be used to create entirely new NPCs with different relationships, textures and equipment.

  • Factions and Relationships - Configure the tacznpc_factions.json file to set up various teams and watch them fight out real time battles.

How to Use

See Configuration below on how to modify the mod.

  • You can summon npcs with /summon tacznpcs:npc {"template":""}, not adding the template nbt: ({"template":""}) will use the "default" template, otherwise you specify a template name based on the npc_loadouts.json config file.

Configuration

NPCs are configured using the mod's config files.

Custom loot tables or tags should be added the normal Minecraft way using datapacks. IDs can then be referenced by the config.


tacznpc_factions.json

Maps entity IDs to faction names.

{
  "villagers": [
    "minecraft:villager",
    "minecraft:iron_golem"
  ],
  "illagers": [
    "minecraft:pillager",
    "minecraft:evoker"
  ]
}
  • Keys are faction names.
  • Values are lists of entity IDs.

tacznpc_loadouts.json

Defines NPC equipment, weapons, factions, and textures.

{
  "illagers": { <-- name of loadout
    "aligned": [
      "illagers", <-- Allied factions
      "monster"
    ],
    "opposed": [
      "villagers" <-- factions to attack
    ],
    "equipment": {
      "table": "tacznpcs:npc/illager", <-- the loot table to use for equipment, optional if you just want to modify dropChances
      "dropChances": { <-- dropChances is optional
        "mainhand": 1, <-- each field is optional in dropChances
        "head": 0.2,
        "chest": 0.2,
        "legs": 0.2,
        "feet": 0.2
      }
    },
    "skin": [
      {"id": "tacznpcs:entity/illager1.png", "slim": true}, <-- id=texture location, slim= slim(true) or wide(false) skin, default is false
      {"id": "tacznpcs:entity/illager2.png"} <-- id is required, slim is optional
    ]
  },
  "names": ["Bobert", "Robert"] <-- random names to choose, will show in the nametag, optional (if the field is not used, then no nametag will show and the default entity name will be used)
}

Extra Fields

Field Description
primary The NPC's primary weapon or item.
helmet Helmet item (optional).
chestplate Chestplate item (optional).
leggings Leggings item (optional).
boots Boots item (optional).

ID Prefixes for Extra Fields

Several fields accept different ID types using prefixes:

Prefix Meaning Example
(none) Minecraft item ID minecraft:iron_sword
% TACZ gun ID %tacz:glock_17
# Item tag #c:swords
$ Loot table ID $minecraft:chests/simple_dungeon

A default loadout is recommended and is used whenever no other loadout applies.


Built-in Factions

These faction names are always available (case-insensitive):

  • monster
  • creature
  • ambient
  • axolotls
  • underground_water_creature
  • water_creature
  • water_ambient
  • misc

You may also reference any custom faction defined in npc_factions.json.


tacznpcs_structures.json

Defines structures for specific loadouts to spawn in.

{
 "minecraft:mansion": [ <-- structure id
   { <-- object
     "entities": [
       "minecraft:pillager",
       "minecraft:vindicator"
     ],
     "loadout": "illagers",
     "chance": 0.25
   }
 ],
 "minecraft:village_plains": [
   { <-- there can be more than one spawning object per structure
     "entities": [
       "minecraft:villager" <-- list of entity ids that can be replaced
     ],
     "loadout": "villagers", <-- loadout to replace entities with
     "chance": 0.05 <-- chance for entity to be replaced on spawn
   },
   {
     "entities": [
       "minecraft:iron_golem"
     ],
     "loadout": "villagers",
     "chance": 0.5
   }
 ]
}

I accept commisions or questions on discord @ jeducklet. (DMs open)

Project description from Modrinth.

Pick your setup

[TACZ] NPCs by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

[TACZ] NPCs versions and loaders

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.