Skip to content

Releases: DavidS-Repo/MobStatues

MobStatues 1.21.11 Hotfix (Remove Command Fix)

Choose a tag to compare

@DavidS-Repo DavidS-Repo released this 16 Jan 10:08
4980a32

Fixes

  • Fixed /msdel removing statues from the YAML but not from the world.
  • /msdel now force-removes the statue entity and its passenger armor stand properly.
  • Added cleanup for old/orphan statues that were no longer tracked in memory.
  • Admin kills like /kill now work on bait statues so they don’t respawn/return.

Notes

This is a small bugfix release for 1.21.11.
No config changes.

MobStatues 1.21.11

Choose a tag to compare

@DavidS-Repo DavidS-Repo released this 14 Jan 23:21
f21e2a0

Highlights

  • Add special "bait statue" behavior so mobs will actually target them in farms like slimefarms or enderman farms.
  • Bait statues stay locked in place, don’t take damage, and don’t get knocked around.
  • Normal statues still work the same as before (invulnerable and frozen).

Supported bait statue types in this release:

  • Endermite
  • Iron Golem
  • Snow Golem
  • Villager

What changed

Bait statues can be targeted

Bait statues are no longer spawned as Invulnerable: 1b, because that makes mobs ignore them.

Instead:

  • Mob attacks are allowed to "hit" the statue
  • Damage is forced to 0.0 so it never dies

This makes endermen and other hostile mobs actually lock onto the bait statue.

Bait statues stay in place

  • The plugin now saves a "home location" per statue ID.
  • When a bait statue gets hit, it snaps back to its home location and velocity is reset to stop knockback/pushing.

Players can’t break bait statues by accident

  • Player damage on bait statues is cancelled.

Cleanup + safety

  • When statues are removed, passengers are removed too.
  • Home location data is cleaned up when a statue is deleted or dies.

Behavior changes

  • Endermite / Iron Golem / Snow Golem / Villager statues:

    • Can be attacked by mobs
    • Take 0 damage
    • Stay pinned in place
  • All other statue types:

    • Still fully invulnerable
    • Still ignore all damage like before

Version

  • Updated for Paper 1.21.11