DeadBody 1.1.5 adds optional dynamic grounding for already-spawned bodies. This update is for servers where admins or world-edit style tools may remove a structure after a corpse has already settled on top of it.
New Feature: Dynamic Grounding
- Added optional dynamic grounding for already-placed corpses.
- If a corpse is resting on a structure, platform, or temporary build and that support is removed later, DeadBody can move the existing corpse down to the next valid surface.
- The corpse falls as its existing placed body instead of being respawned or rebuilt.
- The original loot inventory, corpse UUID, despawn timer, permissions, and container mapping are preserved.
- The new resting location is saved for persistence after the corpse lands.
Visual Support
- ArmorStand corpses keep their existing posed armor stand while falling.
- ItemDisplay corpse markers, nameplates, and Interaction hitboxes stay linked to the corpse anchor during the fall.
- PlayerModel bodies stay tied to the same corpse anchor.
- ProtocolLib player-model visuals now have a best-effort movement hook so packet-only models can receive teleport updates during dynamic falls.
- LibsDisguises/server-side player and mob model visuals naturally follow the moving anchor and are reasserted after landing.
Config
- Added placement.dynamic-grounding.enabled.
- Added placement.dynamic-grounding.check-interval-ticks.
- Added placement.dynamic-grounding.min-drop-blocks.
- Added placement.dynamic-grounding.max-drop-blocks.
- Added placement.dynamic-grounding.pause-while-container-open.
- Added fall tuning options under placement.dynamic-grounding.*.
- Dynamic grounding is disabled by default in the bundled config so existing servers keep their current behavior unless they enable it.
Upgrade Notes
- No config reset is required.
- Existing dead-body.yml files will keep working.
- To use the new behavior on an existing server, copy the placement.dynamic-grounding section into your config and set enabled: true.
- Recommended test: spawn a corpse on a temporary platform, remove the platform, then confirm the same corpse falls to the new surface and still opens with the original loot.