跳到正文

I Can not Hear

作者:Aquavie

A mod that limits chat message propagation distance.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

I Can’t Hear

A Minecraft Forge mod that limits chat message propagation distance.

Overview

In vanilla Minecraft, chat messages reach every player on the server regardless of distance. ICantHear changes this — chat messages only propagate within a limited range, and players too far away won’t see your messages. This brings a more realistic communication experience to multiplayer servers, encouraging players to move closer or use a megaphone to extend their reach.

Features

Distance Limits

Message Type Base Range Extended Range
Normal chat 48 blocks —
/say (executed by player) 48 blocks 384 blocks
/msg / /tell / w 48 blocks —
/tellraw 48 blocks 384 blocks
  • Base range: Without a megaphone, messages propagate only 48 blocks.
  • Extended range: Holding a megaphone and consuming energy extends the range to 384 blocks.
  • Console / Command block executions of /say and /tellraw are not distance-limited and broadcast globally.

The megaphone is the core item of this mod:

  • Energy capacity: 2500 FE (Forge Energy)
  • Effect: When held in the main hand while sending a message, consumes energy based on message byte count and extends propagation from 48 blocks to 384 blocks
  • Charging: Supports the Forge Energy standard interface; can be charged by other mods’ charging devices
  • Durability bar: Displays remaining energy in the inventory via the durability bar

Crafting Recipe

Crafts an empty-energy megaphone. Charge it before first use.

Technical Details

  • Target version: Minecraft 1.20.1 + Forge 47.3.0
  • Build tool: Gradle + Forge MDK
  • Java version: 17
  • Implementation:
    • Intercepts ServerChatEvent to replace default chat broadcasting logic
    • Uses Mixin injections to modify /say, /msg//tell, /tellraw command registration
    • Leverages Forge Energy Capability for the megaphone’s energy system

Build

# Clone the repository
git clone <repository-url>
cd 我听不见

# Build
./gradlew build

# Output is located in build/libs/

Installation

  1. Make sure Minecraft 1.20.1 has Forge 47.3.0 or later installed
  2. Place the generated icanthear-x.x.x.jar file into .minecraft/mods/
  3. Launch the game

License

Apache License 2.0

常见问题

I Can not Hear 支持哪些 Minecraft 版本?

I Can not Hear 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

I Can not Hear 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Aquavie 的其他作品

查看全部 →