promotional bannermobile promotional banner

I Can not Hear

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

The I Can not Hear Team

profile avatar
Owner
  • 2
    Projects
  • 500
    Downloads

More from Aquavie