LimitedSpectator-1.21.x-1.0.2
Curse Maven Snippet
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
ItemTossEventthat 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.FALSEfor proper NeoForge 1.21.1+ compatibility - Updated
build.gradleto useconfigurations.configureEachinstead of deprecatedconfigurations.allfor better performance - Replaced deprecated
programArgumentswithgetArguments()in run configurations (NeoGradle 7.0+ compatibility)
This mod has no additional files

