NoFriendlyFire 是一款面向 Minecraft 1.21.11 的 Fabric 客户端模组,它通过标记玩家为朋友、敌人或中立,并显示彩色碰撞箱,帮助你轻松识别其他玩家。
- ? 朋友 → 绿色
- ? 敌人 → 红色
- ? 中立玩家 → 橙色
该模组完全仅适用于客户端,无需在服务器上安装。
概述
此模组旨在通过提供不同类型玩家之间的清晰视觉区分,来提升多人游戏环境中的玩家感知能力。
它特别适用于以下场景:
- PvP 服务器
- 团队对战玩法
- 与朋友一起生存
- 任何需要快速识别身份的情况
功能
? 玩家分类
你可以将玩家划分为三类:
每个类别都有对应的颜色,以便快速进行视觉识别。
? 自定义碰撞箱
模组会在玩家周围渲染自定义颜色的碰撞箱:
- 颜色取决于玩家状态
- 比默认碰撞箱略粗,以提高可见性
- 渲染稳定(无闪烁)
- 纯视觉效果(不影响游戏机制)
? 交互式 GUI 菜单
内置一个Minecraft 风格的菜单,让你轻松管理玩家。
菜单包含:
-
标签页:
-
可滚动的玩家列表
-
按钮用于:
- 添加玩家(基于准星指向的目标)
- 移除玩家
- 在朋友/敌人列表之间切换
? 昵称显示(非 UUID)
- 内部使用 UUID 以确保可靠性
- 在界面中显示玩家名称(昵称)
- 当玩家在您的世界中时,自动更新名称
? 实时交互
你可以在游戏中直接管理玩家:
- 注视一名玩家并按下按键即可添加/移除
- 随时打开菜单
- 更改即时保存
控制键
| 按键 |
操作 |
| H |
打开菜单 |
| F |
将注视的玩家添加为朋友 |
| E |
将注视的玩家添加为敌人 |
| R |
从列表中移除玩家 |
| J |
切换碰撞箱的开启/关闭 |
数据存储
所有数据均本地存储在配置文件中:
优势:
- 跨会话持久保存
- 独立于服务器
- 即使名称更改也能可靠识别
工作原理
-
你将玩家指定为朋友或敌人
-
模组存储其 UUID
-
在渲染时:
如果该模组受欢迎,我将添加诸如为特定玩家更改碰撞箱颜色等功能。
NoFriendlyFire is a client-side Fabric mod for Minecraft 1.21.11 that helps you easily identify players by marking them as friends, enemies, or neutral, and displaying them with colored hitboxes.
- ? Friends → Green
- ? Enemies → Red
- ? Neutral players → Orange
The mod is fully client-only, meaning it does not require installation on the server.
Overview
This mod is designed to improve player awareness in multiplayer environments by providing clear visual distinctions between different types of players.
It is especially useful for:
- PvP servers
- Team-based gameplay
- Survival with friends
- Any situation where quick identification matters
Features
? Player Classification
You can assign players into three categories:
- Friend
- Enemy
- Neutral (default)
Each category has its own color for quick visual recognition.
? Custom Hitboxes
The mod renders custom colored hitboxes around players:
- Color depends on player status
- Slightly thicker than default for visibility
- Stable rendering (no flickering)
- Purely visual (does not affect gameplay mechanics)
? Interactive GUI Menu
A built-in Minecraft-style menu allows you to manage players easily.
Menu includes:
-
Tabs:
-
Scrollable player list
-
Buttons to:
- Add player (from crosshair)
- Remove player
- Move between friend/enemy lists
? Nickname Display (Not UUID)
- Internally uses UUID for reliability
- Displays player names (nicknames) in UI
- Automatically updates names when players are in your world
? Real-Time Interaction
You can manage players directly in-game:
- Look at a player and press a key to add/remove
- Open menu anytime
- Changes are saved instantly
Controls
| Key |
Action |
| H |
Open menu |
| F |
Add looked-at player as Friend |
| E |
Add looked-at player as Enemy |
| R |
Remove player from lists |
| J |
Toggle hitboxes on/off |
Data Storage
All data is stored locally in a config file:
-
Friends list
-
Enemies list
-
Each entry includes:
Advantages:
- Persistent between sessions
- Independent from server
- Reliable identification even if name changes
How It Works
-
You assign players as friend or enemy
-
The mod stores their UUID
-
When rendering:
- It checks player relation
- Applies corresponding color
- Draws hitbox
**If it gets popular i will add features like changing hitbox color for specific player and so on.
**
评论 0
登录后参与评分
还没有评论,来抢沙发吧