Add Minecraft 26.2 support, item input, and optional ChestSort/WG#8
Add Minecraft 26.2 support, item input, and optional ChestSort/WG#8MrSimpleJS wants to merge 5 commits into
Conversation
…uard hooks Updated OpenShulker for Minecraft 26.2 while keeping api-version: 1.14 for backward compatibility. Added direct item insertion into shulker boxes via right-click interactions. Added optional ChestSort and WorldGuard integration. Fixed protected-container interaction by no longer uncancelling PlayerInteractEvent. Custom shulker display names are now used as the opened inventory title. Details Paper API updated to 26.2.build.31-alpha. Java target remains Java 8 for old server compatibility. Added softdepend: [ChestSort, WorldGuard]. Added config toggles:Hooks.ChestSort Hooks.WorldGuard ChestSort hook marks virtual shulker inventories as unsortable. WorldGuard hook checks Flags.BUILD before opening/inputting shulkers from protected container inventories. Right-click item input supports:item cursor on shulker box shulker box cursor on item Prevents shulker-in-shulker insertion.
|
Wow, thanks for the PR :3 I'll test this as soon ad the temperatures have cooled down |
- Fixed crash cases when an opened shulker’s source container or world no longer exists. - Removed the temporary NBT marker used for Ender Chest ownership checks. - Added safer cleanup for stale open-shulker state. - Guarded delayed opening so invalid/offline player states do not leave broken markers behind. - Prevented item input into already opened shulker boxes. - Added missing `Player` type checks in inventory listeners. - Fixed the `CloseSound` fallback config key. - Fixed the broken color code in the default config.
Add Folia support while preserving Paper/Spigot compatibility from Minecraft 1.14 through 26.2.
Logs ChestSort and WorldGuard hook status on plugin startup. Adds config migration for missing keys in older config files. Adds Hooks.ChestSortDebug to optionally warn when ChestSort is installed but its API cannot be used. Keeps ChestSort debug warnings disabled by default. Updates default config with the new debug option.
|
Any clarifications, please? |
|
No further clarifications regarding OpenShulker, thank you. However, I noticed that the PlugManX JAR published on Modrinth may have been built incorrectly. My working jar is about 2.6 MB, whereas the published jar is only around 250 KB and appears to be missing bundled dependencies. Could you please check the published jar? |
Oh no... I think I know what happened... |
|
I realized I didn't submit the review... |
Replaced the direct ItemStack#equals check with isSimilar, since ownership is already verified through the Ender Chest inventory.
Updated OpenShulker for Minecraft 26.2 while keeping api-version: 1.14 for backward compatibility.
Added direct item insertion into shulker boxes via right-click interactions.
Added optional ChestSort and WorldGuard integration.
Fixed protected-container interaction by no longer uncancelling PlayerInteractEvent.
Custom shulker display names are now used as the opened inventory title.
Details
Paper API updated to 26.2.build.31-alpha.
Java target remains Java 8 for old server compatibility.
Added softdepend: [ChestSort, WorldGuard].
Added config toggles:Hooks.ChestSort
Hooks.WorldGuard
ChestSort hook marks virtual shulker inventories as unsortable.
WorldGuard hook checks Flags.BUILD before opening/inputting shulkers from protected container inventories.
Right-click item input supports:item cursor on shulker box shulker box cursor on item
Prevents shulker-in-shulker insertion.
OpenShulker-1.4.0.zip