AngerMod
7 merged pull requests.
New Content
- #15 Added
ru_RU.langfile with Russian localization strings. - @Eldrinn-Elantey- Added: Russian language file (ru_RU.lang)
Changes
- #12 Replaced Yamcl/YAMCore with GTNHLib; AngerModConfig split into BlockBreakAngerConfig, FriendlyAnimalRevengeConfig, KamikazeConfig and SpawnProtectionConfig using GTNHLib's config system, with LegacyAngerModConfig loading old files. Added BlockSet/ItemSet, rewrote AngerProtectionCommand, added en_US.lang, and fixed the block-break range and eat-event checks. - @Nikolay-Sitnikov
- Added: GTNHLib config, tab completion for the angerprotection command, player selector support for the angerprotection command, angerprotection command error messages, en_US localization
- Removed: Yamcl dependency
- Fixed: breaking blocks angered mobs farther in the -X/-Z directions, starting to eat food angered farm animals
Bug Fixes
- #19 Added per-animal exclusion lists (pigFoodExclusions, cowFoodExclusions, chickenFoodExclusions, sheepFoodExclusions) to FriendlyAnimalRevengeConfig, checked in EatCookedAnimalsEvent.tryTriggerAnimals. Default triggers now include bacon, ham, wing and lamb. Defaults exclude hamburger for pigs and eggplant for chickens. - @zaru-noodles
- Added: food exclusion config lists for pigs, cows, chickens and sheep, bacon and ham pig triggers, wing chicken trigger, lamb sheep trigger
- Fixed: Eggplant damaging chickens when eaten
- Closes GTNH#24940
- #16 PlayerSpawnProtection.isInvalidPlayer now returns true for spectators (GameType id 3 on EntityPlayerMP), and onPlayerTick returns early for them so disableDamage is not toggled. - @Eldrinn-Elantey
- Fixed: Spectator players taking damage and dying to lava, void or drowning, Spawn protection conflicting with spectator mode invulnerability
- Closes GTNH#19765
Documentation
- #17 Added an @return Javadoc tag to PlayerSpawnProtection.isSpectatorPlayer. - @Eldrinn-Elantey
Chores
- #14 Added required-after:gtnhlib@[0.8.34,) to the @Mod dependencies string in AngerMod. - @Nikolay-Sitnikov
- Added: GTNHLib required dependency declaration
- #13 Removed the stray @Config annotation and unused imports from LegacyAngerModConfig and updated its Javadoc. - @Nikolay-Sitnikov
- Removed: stray config annotation
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@Eldrinn-Elantey (3), @Nikolay-Sitnikov (3), @glektarssza (2), @UltraProdigy (2), @chochem (1), @cubefury (1), @Ranzuu (1), @zaru-noodles (1)