Skip to content

Configuration Recipes

HIKI edited this page Oct 26, 2026 · 2 revisions

Configuration recipes

Each JSON block below is a valid partial file. Merge its fields into the named file. Do not replace your entire existing config with a recipe unless you intend to discard its other settings.

Disable accidental NPC bullet damage inside the follower group

File: tacznpc_behavior.json.

{
    "combat": { 
        "friendlyFire": {
            "damageReduction": {
                "companionGroup": {
                    "damagePercent": 0
                }
            }
        }
    }
}

This is not player immunity: hostile and player-origin damage are unchanged.

Disable only the pre-shot ally check

{
    "combat": {
        "friendlyFire": { 
            "shotCheck": {
                "enabled":false
            }
        }
    }
}

Damage reduction remains enabled. To disable only mitigation, set damageReduction.enabled=false instead.

Undo the built-in minigun modifiers

{
    "combat": {
        "weaponModifiers": {
            "tacz:minigun": {
                "burstShotsPercent":100,
                "shotIntervalTicksPercent":100 
            }
        }
    }
}

Make a guard slower to react without changing other loadouts

{
    "loadouts": {
        "guard": {
            "combat": {
                "reactionTimeTicks": {
                    "min":20,
                    "max":35
                }
            }
        }
    }
}

Do not use aimDistance as a maximum attack range; it is the ADS threshold.

Give guards 18 cargo slots

File: tacznpc_inventory.json.

{
    "loadouts": {
        "guard": {
            "maxCargoSlots":18
        }
    }
}

Make one item valuable to collect but inexpensive to buy

{
    "loadouts": {
        "guard": {
            "interests": [
                {"item":"minecraft:bread","weight":20,"basePrice":2}
            ]
        }
    }
}

This array replaces that loadout's entire inherited interest list. Include its other interests when merging.

Start a guard at level 2

File: tacznpc_quests.json.

{
    "loadouts": {
        "guard": {
            "minSpawnLevel":2
        }
    }
}

Only fresh template initialization receives the floor. Use XP commands for existing NPCs.

Disable ally population growth from offline actions

File: tacznpc_offline_actions.json.

{
    "offlineActions": {
        "meetAllies": {
            "enabled":false
        }
    }
}

Disable requests for guards

File: tacznpc_requests.json.

{
    "loadouts": {
        "guard": {
            "enabled":false
        }
    }
}

Offer no offline loot in deserts

File: tacznpc_loot/desert.json.

{
    "biomes":["minecraft:desert"],
    "pools":[]
}

Do not assign minecraft:desert in another active loot file.

Use authored greetings everywhere

File: tacznpc_greetings.json.

{
    "enabled":false
}

After any recipe, run /tacznpcs_reload, inspect the log and test the intended loadout. Commands are more reliable than guessing which configuration the NPC is using.


Home · Configuration map · Troubleshooting

Clone this wiki locally