Limited Spectator

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

File Details

LimitedSpectator-1.21.x-1.2.1.jar

  • R
  • Dec 23, 2025
  • 159.35 KB
  • 137
  • 1.21.11+10
  • NeoForge

File Name

LimitedSpectator-1.21.x-1.2.1.jar

Supported 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"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

[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