permadeath-2.1.3.1-mc1.21.1.jar
Curse Maven Snippet
What's new
Permadeath Mod v2.1.3.1 — Engine Hardening, Totem Reliability & Open Source Attribution
This release introduces critical low-level engine fixes, network inventory synchronization, restored entity AI routines, and full Open Source licensing compliance (MIT) for Fabric 1.21.1 / 1.21.4.
📜 Open Source Compliance & Dual Attribution (v2.1.3.1)
- Root License Architecture: Added a formal dual-copyright
LICENSE(MIT) explicitly protecting both original baseline works and modern expansion architectures. - Detailed Component Attribution (
NOTICE): Included a granularNOTICEfile in packaged resources cataloging all inherited 1–70 progression handlers, structure templates (.nbt), and mixin hooks alongside BOrrad0's exclusive Days 70–110 systems and assets. - Source Code Licensing Headers: Formally embedded standard MIT compatibility headers across all 132 inherited Java classes without modifying runtime logic or method signatures.
🛡️ Totem Pipeline & Medal Reliability Overhaul (TotemManager)
- Dual-Wield Medal Detection: Fixed cross-hand checking logic (
isSurvivorMedal(mainStack) || isSurvivorMedal(offStack)). Holding a regular totem in the main-hand no longer prevents off-hand medals from activating or triggers unintended extra totem consumption. - Exact Lethal Damage Threshold: Corrected the trigger threshold from
finalDamage >= totalLife - 0.1FtofinalDamage >= totalLife, preventing sub-lethal hits from popping totems prematurely. - Network Inventory Sync (
sendContentUpdates): Immediate packet synchronization forced viaplayer.currentScreenHandler.sendContentUpdates()upon consuming extra totems, eliminating ghost items and client-server desyncs. - Active Hand Protection: The inventory consumer prioritizes inactive slots first, preventing the player's held weapon or tool from being cleared.
- Stack-Safe Decrements: Extra totem consumption safely uses
decrement(1)without discarding entire item stacks.
🧟 Twilight Giant AI & Anti-Cheese Fix (GiantAIMixin)
- Restored Invasion AI: Updated target filters in
GiantAIMixinto recognize both legacypermadeath:giant_zombieand activeInvasionGianttags. Twilight Giants now pathfind properly, target players, and attack with full endgame attributes. - Anti-Pillar Wind Bursts: Reliable execution of directional wind shockwaves (
GUST_EMITTER_LARGE) to counter vertical dirt-pillar cheese.
⚡ Engine Optimizations & Server-First Stability
- Pre-Spawn Idempotency (
Day70to79Handler): Cave Spider stacks are registered inMobProcessingTrackerprior to world spawning, eliminating recursive loops and duplicate entities onENTITY_LOAD. - Memory Leak Cleanups (
Day90to99Handler): Registered a dedicatedServerPlayConnectionEvents.DISCONNECTlistener to unregister pending dimensional rift trackers when players leave the server. - Habitat Shadow Expiration: Vex shadows spawned by Habitat Stagnation feature a strict 30-second lifespan (
setLifeTicks(600)), preventing mobcap saturation when players flee. - Immediate Armor Debuff Clearing: Fixed armor penalty cleanup so the -15% reduction is instantly removed the exact tick habitat pressure drops below Level 2.
- Multi-Version Parity: Strict attribute mapping across both supported Fabric environments (
GENERIC_*for 1.21.1 and modernized identifiers for 1.21.4).
📦 Installation
- Loader: Fabric (Java 21+)
- Minecraft: 1.21.1
- Dependency: Fabric API
This mod has no additional files

