1.9 KiB
KnockedBack replaces traditional deaths from most damage types with a “knocked out” state, letting players and mobs deliver the final blow, or even rescue their allies, before true death occurs.
Lethal damage is canceled and the player is left at 1 HP in a helpless, immobile state for 20 seconds. While knocked you can’t move, sprint, jump, break blocks, attack, or interact. After those 20 seconds have passed, the player can move again and continue fighting.
Living players can finish off (“execute”) a knocked target by pressing a key (default B) within range.
Execution takes 3 s.
Hostile or aggressive neutral mobs near a knocked player will automatically “grip” and execute them after 3 s, resetting if the mob is attacked first.
Mobs cannot execute players who are currently being carried. Press V near a knocked teammate to pick them up (they ride you), pausing their recovery timer. Executors (players or mobs) have their own movement/attack locked out during the 3 s delay. Any damage to a carrier drops their passenger and resumes that passenger’s recovery.
Fire, lava, fall, and explosion deaths bypass the knocked state and kill normally.
Owned pets also survive lethal combat damage at 1 HP. They cannot take ordinary damage while knocked, and recover with four health after 20 seconds. Hold H within two blocks to help a knocked pet recover sooner. Their owner receives a chat notice. The pet's recovery timer is saved with the entity, so it resumes after a world reload. Tamed animals and modded followers that implement Minecraft's OwnableEntity interface are protected automatically.
For modded followers without vanilla ownership data, add their entity type IDs to pets.protectedEntityTypes in the Forge config file (config/knockedback-common.toml). Every mob of a listed type is protected, so list only the follower types you want to save. Pet protection, recovery time, recovery health, and player help are configurable in the same section.