Compatibility
Minecraft: Java Edition
1.21.4–1.21.7
Platforms
Creators
Details
Licensed GPL-2.0-or-later
Published 2 months ago
Updated 2 months ago
Counterplay
Prevents player death if they're above certain health threshold.
Damage types are fully compatible with both vanilla types and those added by datapacks/plugins.
oneshot-protection:
enabled: false # Set to true to enable
health-threshold: 10.0 # Health threshold above which the player will not die
excluded-damage-types: # Damage types that will not trigger the protection
- generic_kill
- fall
- fly_into_wall
This is a concept based on the idea talked about in this blog post.