▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/No Friendly Fire
No Friendly Fire

No Friendly Fire

This project changes colors to your friends and enemies, so you can tell them apart.

87
2

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:

    • Friends
    • Enemies
  • 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

KeyAction
HOpen menu
FAdd looked-at player as Friend
EAdd looked-at player as Enemy
RRemove player from lists
JToggle hitboxes on/off

Data Storage

All data is stored locally in a config file:

  • Friends list

  • Enemies list

  • Each entry includes:

    • UUID
    • Last known username

Advantages:

  • Persistent between sessions
  • Independent from server
  • Reliable identification even if name changes

How It Works

  1. You assign players as friend or enemy

  2. The mod stores their UUID

  3. 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. **

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:MIT
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная