Mineuniverse
Log in Register
Mods

TaCZ:Npcs Unofficial bug fix

This is an unofficial bug fix mod for TaCZ:Npcs.
by takoshaoki
Download Claim this project
1,750 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Addons

TaCZ NPC Fix

An unofficial patch for TaCZ:NPC that fixes NullPointerException crashes.


What does this mod do?

TaCZ:NPC adds gun-wielding NPCs to your world — but the mod has been discontinued and contains a critical bug: when an NPC locks onto a target and that target dies, the game crashes with a NullPointerException.

This mod applies a Mixin patch to fix that crash without modifying TaCZ:NPC itself.

Fixes applied:

  • TaczShootAttack#tick() — cancels the tick if the lock-on target is null, dead, or removed
  • TaczShootAttack#stop() — clears the target reference when the behavior stops, preventing stale references from persisting

Requirements

  • Minecraft 1.20.1
  • Forge 47.x
  • [TaCZ:NPC](this mod does nothing without it)
  • [TACZ (Timeless and Classics Zero)]

Installation

  1. Download and install Forge 1.20.1
  2. Drop tacznpcfix-1.20.1.jar into your mods folder alongside tacz_npc.jar
  3. Launch the game

Notes

TaCZ:NPC is officially discontinued. The original author recommends checking out [Pillager's Guns (TACZ support) and Insurgents as alternatives. This patch is for those who still want to use TaCZ:NPC despite its discontinued status.

This mod is Issues and PRs are welcome.


Disclaimer

This is an unofficial patch and is not affiliated with the original TaCZ:NPC author.

tacznpcfix-1.20.1-1.0.0.jar
MC 1.20.1, Forge
Beta 2026-03-22 Get

You Might Also Like

SI: Scriptified [DISCONTINUED]
DISCONTINUED
99,868
FTB Quests Entity Visualization
Adds entity visualization to FTB Quests
99,525
JEI / REI WorldGen
JEI/REI Addon for World Gen Information with universal compatibility for all mods ores by utilizing biome generation data
99,419
Pixel Blocks
Pokemon Lucky Block! When mining the pixel block a random pokemon spawns.
9,988
TFC Bonsai
Add TFC Trees to bonsai pots
9,988
Laser Eyes
A "laser eyes" addon for the Viltrumite mod.
9,968