Skip to content

SpecialMobs ​

5 merged pull requests.

Changes ​

  • #31 Added IMMUNE_TO_ALL_POTIONS flag to SpecialMobData instead of storing all 65k+ potion IDs in a Set; updated witch mobs to use this flag. - @Alexdoru
    • Added: IMMUNE_TO_ALL_POTIONS data flag

Bug Fixes ​

  • #29 Modified EntityEnderCreeper teleportation logic to check that target blocks are normal (solid, opaque) cubes before allowing teleportation. - @loenaaaa
    • Fixed: Ender Creepers teleporting into tank blocks
    • Closes GTNH#22925
  • #28 Added a marker flag to deflected projectiles in EntityWitchSpider to prevent them from being deflected more than once, breaking the recursive deflection loop. - @wlhlm
    • Added: Projectile deflection marker
    • Fixed: Witch Spider infinite projectile duplication softlock
    • Closes GTNH#16062
  • #27 Added firing of Forge's onExplosionDetonate event in MobHelper for dark creeper explosions, allowing server utilities like claim protection to intercept and prevent block damage. - @dibbydoda
    • Fixed: Dark Creeper explosions bypassing explosion disable settings
    • Closes GTNH#19888

Performance ​

  • #32 Optimized MobHelper explosion event handling, refactored RandomHelper with caching, improved SpecialMobData field access patterns, and fixed mob entity tick operations to reduce allocations. - @Algent

Contributors ​

Everyone who authored, reviewed or co-authored a change on this page, with how many of them:

@Algent (2), @Alexdoru (1), @boubou19 (1), @cubefury (1), @dibbydoda (1), @koolkrafter5 (1), @loenaaaa (1), @Spicierspace153 (1), @wlhlm (1)