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.0.2

File nameLimitedSpectator-1.21.1-1.0.2.jar
Uploaded
Nov 10, 2025
Downloads
41
Size
150.6 KB
Mod Loaders
NeoForge
File ID
7207598
Type
R
Release
Supported game versions
  • 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
  • 1.21

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

Changelog

All notable changes to the Limited Spectator mod previous versions are documented in my Repo on GitHub.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.2 - 2025-11-08

Fixed

  • Fixed critical bug where items would disappear from inventory when attempting to drop them in spectator mode
    • Items are now properly returned to the player's inventory when drop is blocked
    • Resolved issue with ItemTossEvent that removed items before the event could be cancelled
  • Improved item handling to prevent item duplication or loss

Added

  • Server-side event handler for blocking item pickup (ItemEntityPickupEvent.Pre)
  • Server-side event handler for blocking item dropping with proper inventory restoration (ItemTossEvent)
  • Enhanced inventory protection in limited spectator mode

Changed

  • Item drop blocking now uses smart inventory restoration to prevent item loss
  • Item pickup blocking uses TriState.FALSE for proper NeoForge 1.21.1+ compatibility
  • Updated build.gradle to use configurations.configureEach instead of deprecated configurations.all for better performance
  • Replaced deprecated programArguments with getArguments() in run configurations (NeoGradle 7.0+ compatibility)

This mod has no additional files