patched to run without deadlocks on 1.21.11
- Java 100%
Fixes #170 Currently the world generation / server thread deadlocks when a strider-zombified piglin chockey spawns as part of the world generation. This happens because accessing the block-state via `current.level()` happens from the world generation thread, tries to re-schedule on the main thread but the main thread is currently waiting for the world generation -> Deadlock |
||
|---|---|---|
| .config | ||
| .github | ||
| .idea | ||
| gradle/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| MOTIVATION.md | ||
| README.md | ||
| renovate.json5 | ||
| SECURITY.md | ||
| settings.gradle | ||
Zombified Piglin restore anger loot
Restores the original Zombified Piglin loot mechanic like it was in 1.21
Configuration
Gamerule spawn_zombified_piglin_always_with_sword_on_magma_block
Forces Zombified Piglins to always spawn with a sword on magma blocks.
The default is false.
This gamerule exists because
- starting with 1.21.11 Zombified Piglins can spawn with a spear:
- Piglins with spears can hit each other while attacking, which in turn causes retaliation/infighting and therefore lowering the overall effectiveness of farms
- The performed charge attack requires a lot more calculations when compared to a "normal" sword attack
- mpost gold farms use magma blocks anyway
- all other gameplay aspects are unaffected
Motivation/Why does this mod exist?
Gold farms got significantly nerfed in 25w02a.
See also: More details, comparisons and arguments
Installation
Installation guide for the latest release
Usage in other mods
Add the following to build.gradle:
dependencies {
modImplementation 'net.litetex.mcm:zombified-piglin-restore-anger-loot:<version>'
// Further documentation: https://wiki.fabricmc.net/documentation:fabric_loom
}
Note
The contents are hosted on Maven Central. You shouldn't have to change anything as this is the default maven repo.
If this somehow shouldn't work you can also try Modrinth Maven.
Contributing
See the contributing guide for detailed instructions on how to get started with our project.