promotional bannermobile promotional banner

Limited Spectator

A lightweight NeoForge mod that introduces a restricted spectator mode for Minecraft players.
Back to Files

LimitedSpectator-1.21.x-1.2.1.jar

File nameLimitedSpectator-1.21.x-1.2.1.jar
Uploaded
Dec 23, 2025
Downloads
143
Size
159.3 KB
Mod Loaders
NeoForge
File ID
7369432
Type
R
Release
Supported game versions
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:limited-spectator-1382338:7369432"

Learn more about Curse Maven

What's new

[1.2.1] - 2025-12-23

🔧 Code Quality Hotfix

Minor code quality improvements and performance optimizations in client-side event handling.

Fixed

  • Removed duplicate condition check in ClientEventHandler.onMouseClick()
    • Merged redundant isSpectator() check that was executed twice
    • Simplified logic flow for better readability
  • Commented out production debug log in ClientEventHandler.onRenderHud()
    • Debug log was executing every frame, causing log spam
    • Moved to commented debug section for development use only

Performance

  • Reduced redundant condition checks in mouse input handling
  • Eliminated per-frame debug logging in production builds

Technical

  • No functional changes or API modifications
  • Pure code cleanup and optimization
  • Build remains compatible with v1.2.0

This mod has no additional files