fix, refactor: removed unneccesary logic of saving Angry state to persistent storage

Signed-off-by: lisoveliy <lisoveliy@proton.me>
This commit is contained in:
2026-07-31 04:32:11 +03:00
parent bc1e1d28b9
commit dd56f2f7a1
5 changed files with 54 additions and 30 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# Return Piglin Farms
It's plugin for Spigot-compatible servers that makes some tweaks for mimic 1.21.4 behavior of Zombified Piglins
(especialy when used in farms).
## Tweaks:
- Zombified Piglins drop XP while not attacked by player (config value - `dropXP`, `true` by default)
- Zombified Piglins drop gold ingots while not attacked by player
- Zombified Piglins don't equip spears (config value - `disableSpears`, `true` by default)
All loot and XP table used from [minecraft wiki](https://minecraft.wiki/w/Zombified_Piglin#Drops) for 1.21.11. It means,
plugin will give to player exact loot from table from 1.21.11 (Default column)
## Works only on 1.21.11
I don't plan to build this plugin for other versions, but you can **build it yourself**!