HomeJavaModsNo Death
No Death

NoDeath

NoDeath is a Fabric server-first mod that controls the death rules of specific mobs and players.

The goal is intentionally narrow:

Contents

Overview

Behavior Rules

Mob Rules

Player Rules

Compatibility

Item Requirement
Minecraft 1.21 to 1.21.11
Fabric Loader 0.16.0+
Java 21+
Fabric API Required
Fabric Language Kotlin Required

The project currently targets Minecraft 1.21.11.

Dependencies

Install the following dependencies into the target mods directory together with this mod:

Dependency Required Notes
Fabric API Yes Provides Fabric events, commands, and runtime APIs
Fabric Language Kotlin Yes Required because this mod is written in Kotlin

Installation

Server-first Usage

This mod is designed primarily as a server-side mod:

Commands

All commands require administrator permission by default.

Command Description
/nodeath Show the current protection overview
/nodeath list Show the current protection overview
/nodeath reload Reload the config file
`/nodeath all <true false>`
`/nodeath player <true false>`
/nodeath status <player> Show whether a player is currently protected

Notes:

Configuration

Config file path:

config/no-death.json

Default config:

{
  "protectAllPlayers": false,
  "protectedPlayers": []
}
Field Default Description
protectAllPlayers false Enables protection for all players
protectedPlayers [] UUID list of individually protected players

Data Storage

Configuration and protection data are stored in:

config/no-death.json

Data characteristics:

中文

NoDeath 是一个 Fabric 服务端优先模组,用于控制特定生物和玩家的死亡规则。

核心目标很简单:

目录

功能概览

行为规则

生物规则

玩家规则

兼容性

项目 要求
Minecraft 1.211.21.11
Fabric Loader 0.16.0+
Java 21+
Fabric API 必需
Fabric Language Kotlin 必需

当前工程以 Minecraft 1.21.11 为主目标版本。

依赖

请确保以下依赖与本模组一起安装到对应环境的 mods 目录:

依赖 是否必需 说明
Fabric API 必需 提供 Fabric 事件、命令和运行时 API
Fabric Language Kotlin 必需 本模组使用 Kotlin 编写,缺失时无法加载

安装方式

服务端优先

本模组优先按服务端模组使用:

命令说明

所有命令默认要求管理员权限。

命令 说明
/nodeath 查看当前保护概览
/nodeath list 查看当前保护概览
/nodeath reload 重新加载配置文件
`/nodeath all <true false>`
`/nodeath player <玩家> <true false>`
/nodeath status <玩家> 查看指定玩家当前是否受保护

说明:

配置说明

配置文件路径:

config/no-death.json

默认配置:

{
  "protectAllPlayers": false,
  "protectedPlayers": []
}
字段 默认值 说明
protectAllPlayers false 是否让所有玩家进入保护状态
protectedPlayers [] 单独受保护玩家的 UUID 列表

数据存储

配置和保护数据保存在:

config/no-death.json

数据特点:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more