SleepBalance睡眠平衡

Quick rating

SleepBalance睡眠平衡

No reviews yet

A Minecraft mod that implements an energy system for players, where player activities deplete energy, and the gaming experience adjusts according to changes in energy levels.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
sleep-balance-mod-1.1.0.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

下拉看中文描述
# Sleep Balance Mod
A Minecraft mod that implements a stamina system for players, enhancing gameplay by adding a new layer of resource management.

## Current Features
### Stamina System
- Players have a stamina level that affects gameplay based on activity
- Performing operations depletes stamina
- Lower stamina levels result in various debuffs
- Players regain stamina when inactive for 5 seconds at a rate of 0.1 per second
- Stamina persists between game sessions (saved data)

### Sleep Mechanics
- Players can sleep when stamina is low
- Natural wake-up restores player stamina

### Commands
The mod provides the following commands:
- `/stamina` - View your current stamina level
- `/stamina query` - View your current stamina level
- `/stamina query <players>` - View stamina levels of specified players
- `/stamina set <value>` - Set your stamina to the specified value
- `/stamina set <value> <players>` - Set stamina of specified players to the given value
- `/stamina add <amount>` - Add or remove stamina from yourself (use negative values to decrease)
- `/stamina add <amount> <players>` - Add or remove stamina from specified players
- `/stamina clearall` - Clear all persisted stamina data

## Technical Implementation
- Uses Fabric mod loader
- Implements data persistence for player stamina levels
- Uses mixins to integrate with Minecraft's sleep mechanics
- Event-driven architecture for tracking player actions

---

# 睡眠平衡模组
一个为Minecraft玩家实现体力值系统的模组,通过添加资源管理新层次来增强游戏体验。

## 当前功能
### 体力值系统
- 玩家拥有体力值,会根据活动影响游戏体验
- 进行操作会消耗体力
- 体力值过低会导致各种负面效果
- 玩家静止5秒后会以每秒0.1点的速度恢复体力
- 体力值在游戏会话之间保持持久(数据已保存)

### 睡眠机制
- 体力值低时玩家可以入睡
- 自然醒来会恢复玩家体力值

### 命令
模组提供以下命令:
- `/stamina` - 查看你当前的体力值
- `/stamina query` - 查看你当前的体力值
- `/stamina query <玩家>` - 查看指定玩家的体力值
- `/stamina set <数值>` - 将你的体力值设置为指定数值
- `/stamina set <数值> <玩家>` - 将指定玩家的体力值设置为给定数值
- `/stamina add <数量>` - 增加或减少你的体力值(使用负值来减少)
- `/stamina add <数量> <玩家>` - 增加或减少指定玩家的体力值
- `/stamina clearall` - 清除所有持久化的体力值数据

## 技术实现
- 使用Fabric模组加载器
- 实现玩家体力值的数据持久化
- 使用mixin技术整合Minecraft的睡眠机制
- 基于事件驱动的架构来追踪玩家动作
        

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works