
Inv View Forge/NeoForge
Allows you to open and manipulate the inventories and ender chests of online and offline players. Server Side
77.0K
16
Inv View Forge/NeoForge 3.0.1-1.21.1
Release9 мес. назад
Список изменений
Port InvView to NeoForge 1.21.1 with complete refactoring and new features
- Fully ported InvView from Forge to NeoForge 1.21.1, ensuring compatibility with the latest API.
- Refactored codebase for modularity and extensibility:
- Introduced
InventoryProviderAPI for dynamic inventory handling (PlayerInventoryProvider, EnderChestProvider). - Replaced hardcoded commands with
InventoryProviderRegistryfor provider-based command registration. - Created
AbstractInventoryScreenHandlerto centralize common inventory container logic.
- Introduced
- Added
InventoryLockManagerwithInventoryTypeenum (PLAYER_INVENTORY, ENDER_CHEST, CURIOS, CURIOS_COSMETIC) to prevent concurrent modifications. - Implemented Curios API integration:
- Added
CuriosInventoryProviderandCuriosCosmeticInventoryProviderfor functional and cosmetic Curios slots. - Updated
PlayerCuriosInventoryScreenHandlerandPlayerCuriosCosmeticInventoryScreenHandlerto handle inventory changes with proper synchronization. - Registered Curios providers conditionally using
ModList.get().isLoaded("curios").
- Added
- Integrated LuckPerms support for fine-grained permissions:
- Created
PermissionHandlerfor conditional permission checks (inv_view.inv,inv_view.echest,inv_view.curios,inv_view.curios_cosmetic). - Fallback to Minecraft operator level 2) when LuckPerms is not installed.
- Created
- Enhanced offline player support:
- Improved
InvViewCommandsto load offline player data usingMinecraftServer.getPlayerList().getPlayerForLogin(). - Ensured data persistence with
InvViewNeoforge.savePlayerData()for all inventory modifications.
- Improved
- Added translation support for UI and error messages (e.g.,
inv_view_neoforge.inventory_in_use.error,inv_view_neoforge.curios.inventory). - Optimized code for performance and maintainability, removing deprecated Forge methods.
Файлы
inv_view_neoforge-3.0.1-1.21.1.jar(84.07 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
3.0.1-1.21.1
Загрузчики
NeoForge
Версии игры
1.21.1
Загрузок
703
Дата публикации
9 мес. назад