crash-2026-04-05_23.45.25-client.docx
Hello, I encountered a reproducible game crash when using your Raids mod. Here is the detailed feedback:
1. Basic Environment
- Minecraft Version: 1.12.2
- Forge Version: 14.23.5.2860
- Raids backport Mod Version1.1.5
- Conflicting Mod: Taoism Mod Version 2.2.2
2. Trigger Conditions & Reproduction Steps
1. Hold the Karambit weapon from the Taoism mod
2. Use the weapon's skill to apply its built-in fear effect (from the Taoism mod) to a Pillager (EntityPillager) added by your Raids mod
3. The game crashes immediately when the fear effect tries to modify the Pillager's attack target
3. Core Crash Details
- Crash Type: NullPointerException during entity ticking (client/integrated server)
- Exact Crash Location: net.smileycorp.raids.common.raid.RaidHandler.hasActiveRaid(RaidHandler.java:46)
- Injection Trigger Point: Mixin callback handler$zgc000$raids$setAttackTarget injected into EntityLiving.setAttackTarget
4. Root Cause Analysis
In the Mixin callback injected into setAttackTarget , your mod calls the hasActiveRaid() method directly without any null check. When other mods modify an entity's attack target via code, this injected logic will be triggered. If the core object accessed in line 46 of hasActiveRaid() is null, it will throw a NullPointerException and crash the game.
crash-2026-04-05_23.45.25-client.docx
Hello, I encountered a reproducible game crash when using your Raids mod. Here is the detailed feedback:
1. Basic Environment
2. Trigger Conditions & Reproduction Steps
1. Hold the Karambit weapon from the Taoism mod
2. Use the weapon's skill to apply its built-in fear effect (from the Taoism mod) to a Pillager (EntityPillager) added by your Raids mod
3. The game crashes immediately when the fear effect tries to modify the Pillager's attack target
3. Core Crash Details
4. Root Cause Analysis
In the Mixin callback injected into setAttackTarget , your mod calls the hasActiveRaid() method directly without any null check. When other mods modify an entity's attack target via code, this injected logic will be triggered. If the core object accessed in line 46 of hasActiveRaid() is null, it will throw a NullPointerException and crash the game.