介绍
中文介绍正在准备中,下面暂时显示原文。
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
CannotDietag 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
- Ensure Minecraft Forge 1.20.1-47.4.6 is installed
- Place the built mod file into the
.minecraft/mods/directory - 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.
常见问题
You can‘t dead! 支持哪些 Minecraft 版本?
You can‘t dead! 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
You can‘t dead! 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分