promotional bannermobile promotional banner

You can‘t dead!

Provide powerful entity death protection function

You can't dead!

A Minecraft Forge mod that provides powerful entity death protection!

Features

Automatic Protection

  • Automatic protection for Creative Mode players: All players in Creative mode are protected from death by default.

Command Control (Requires permission level 4)

  • /nodeath god <entities> - Enables God Mode (death protection) for the specified entities
  • /nodeath mortal <entities> - Disables God Mode for the specified entities
  • /nodeath check <entity> - Checks the protection status of the specified entity

Tag-based Protection

  • Add the CannotDie tag to any entity to grant it permanent protection

Advanced Protection Mechanism

This mod employs multiple methods to prevent entity death, including but not limited to:

  • Canceling the LivingDeathEvent
  • Protecting entity health-related methods via Mixin
  • Preventing various death state manipulations (isDead, deathTime, etc.)
  • Safeguarding entity attributes from malicious modifications

Technical Information

  • Minecraft Version: 1.20.1
  • Forge Version: 47.4.6
  • Mod Version: 1.0
  • Author: Aquavie
  • Uses Mixin technology for deep-level protection

Build Instructions

Use the following command to build the mod:

./gradlew build

After building, the mod file will be located in the build/libs/ directory.

Usage

  1. Ensure Minecraft Forge 1.20.1-47.4.6 is installed
  2. Place the built mod file into the .minecraft/mods/ directory
  3. Start the game to enable protection features

Command Examples

# Enable God Mode for yourself
/nodeath god @s

# Disable God Mode for all players
/nodeath mortal @a

# Check the protection status of a specific creature
/nodeath check @e[type=creeper,limit=1]

# Use tags to grant permanent protection to entities
/tag @e[type=zombie] add CannotDie

Finally, regarding why my repository is still written as "Other" even though I am using GitHub, the reason is that CF doesn't know why it always cannot recognize that my repository is Public. That's it.

The You can‘t dead! Team

profile avatar
Owner
  • 2
    Projects
  • 499
    Downloads

More from Aquavie