File Details
GlymeraMegaChest-3.0.0.jar
- R
- May 2, 2026
- 83.21 KB
- 135
- Early Access
File Name
GlymeraMegaChest-3.0.0.jar
Supported Versions
- Early Access
GlymeraMegaChest - Changelog
v3.0.0 (2026-05-02)
New Features
- Second chest variant: Network Chest — a Temple Light double-chest block with a soft lavender tint (item id
GlymeraMegaChestNetwork_Block). Every Network Chest a player places shares a single per-owner item pool. Drop something into one Network Chest and it's instantly available in every other Network Chest the same player owns, anywhere in the world. - Smart break rule for Network Chests. Unlike the standard Mega Chest, which refuses to break while non-empty, the Network Chest variant:
- Allows breaking any chest freely as long as the owner still has at least one other Network Chest placed — the pool stays accessible.
- Blocks breaking only when it's the last Network Chest in the network AND the pool is non-empty, with the message "This is your last network chest. Empty the storage first or place another network chest."
- The pool itself is never destroyed by a break; items remain in the player's pool until they are taken out through any Network Chest, or until both the pool and the chest count reach zero.
- New OP command
/megachest givenet [player]for handing out Network Chest items. - Standard Mega Chest is unchanged. Same crafting, same model (Royal Magic Chest), same per-chest standalone behavior. Players who do not need a network can keep using it as before.
Why
Customer feedback (CurseForge): players building castles and village settlements wanted crafting benches in different themed buildings to draw from a single shared stockpile. The old workflow with the discontinued pipes mod required manual chest-shuffling. The Network Chest variant solves the storage half of that problem out of the box, while leaving the standalone Mega Chest variant intact for players who want a per-location chest.
Crafting
Network Chest is crafted at the Alchemybench (category Alchemy_Potions):
- 1x Furniture_Temple_Light_Chest_Large
- 3x Ingredient_Life_Essence_Concentrated
The single craftingEnabled config toggle now governs both variants. OPs can hand chests out via /megachest give (standard) and /megachest givenet (network) regardless.
Technical Details
- New block id
GlymeraMegaChestNetwork_Block. Model:Decorative_Sets/Temple_Light/Chest.blockymodel(the native 2-block double-chest),HitboxType: Chest_Large, custom textureDecorative_Sets/Glymera/MegaChestNetwork_Texture.pngcarrying a gentle lavender tint applied per pixel from the original Temple Light chest texture. ChestDatagained akindenum (CHEST/NETWORK) and apositions: List<ChestPosition>field. Standard chests keep their singleworldName/x/y/ztriple; network pools usepositionsinstead and theidis"net:" + ownerUuid.- Storage layout:
- Standard chests still serialize to
plugins/GlymeraMegaChest/chests/<uuid>.json(one file per placed chest). - Network pools serialize to
plugins/GlymeraMegaChest/network/net:<owner-uuid>.json(one file per owner, regardless of how many chests they have placed).
- Standard chests still serialize to
posToChestcontinues to map every block position (single for standard chests, many-to-one for network chests) to a singleChestDataid, so the existingMegaChestUseBlockSystemworks for both variants without modification — the UI sees aChestDataand renders its items map.- New event system
MegaChestNetworkPlaceBlockSystemmirrors the standard place-handler with the samePendingPlace+tryConfirmNetworkPlaceafter-tick check, registering the new position under the owner's pool (creating the pool on first placement). MegaChestBreakBlockSystemwas extended with akind == NETWORKbranch implementing the smart break rule (chest count + pool emptiness check, position removal, conditional pool deletion when both chests and items reach zero).MegaChestDamageBlockSystemandMegaChestCraftRecipeSystemaccept bothBLOCK_IDandBLOCK_NETWORK_IDso the 3-layer protection and thecraftingEnabledtoggle cover both variants.- Deposit deny-list (the check that prevents nesting chests inside chests) was extended to refuse
BLOCK_NETWORK_IDas well. - All ingredient and bench ids in the new recipe were verified against
Assets.zipbefore shipping (Furniture_Temple_Light_Chest_Large,Ingredient_Life_Essence_Concentrated,Alchemybench/Alchemy_Potions).
v2.0.0 (2026-05-01)
New Features
- Deposit Manager sub-page — clicking the "Deposit Inventory" button no longer dumps your whole inventory into the chest at once. It now opens a dedicated picker page where you can:
- Click any individual slot in your Storage (or Backpack, if you have unlocked capacity) to deposit just that one stack.
- Use the bulk buttons Deposit Storage / Deposit Backpack / Deposit All to mass-deposit a single section or everything at once.
- Hit Back to return to the chest's main view.
- Hotbar is still never deposited, even on "Deposit All". Equipped tools, weapons, and quick-access items stay where they are.
Why
Customer feedback (CurseForge): with the old all-or-nothing button, players had to either empty out items they wanted to keep before opening the chest, or fish them back out of the chest afterwards. The new picker makes selective deposits a one-click operation while keeping the existing one-button bulk-deposit available for the common case.
Technical Details
- New page class
MegaChestDepositPageextendingInteractiveCustomUIPage<DepositEventData>. Opened by the existing "Deposit Inventory" button onMegaChestPageinstead of running the deposit immediately. - New UI asset
Common/UI/Custom/Pages/MegaChestDepositPage.ui— two slot grids (#StorageGrid,#BackpackGrid) plus three bulk buttons and a back button. Slots reuse the existingMegaChestSlot.uitemplate, including durability percentage display. - Backpack section is rendered only if
Inventory.getBackpack().getCapacity() > 0; otherwise a "none unlocked" hint is shown. depositPlayerBackpack(...)was split into:depositContainers(chest, player, includeStorage, includeBackpack)— bulk path, walks one or both containers.depositSlot(chest, player, containerId, slotIndex)— single-slot path used by per-slot clicks.- Both reuse the internal
depositOneSlotInternal(chest, container, slot)helper, which is the only place that actually moves items and rolls back the chest add if the inventory removal fails (anti-dupe).
- New codec
DepositEventData(Action / Container / Slot) for the sub-page event traffic. Container is a string id ("storage"or"backpack"); the liveItemContaineris resolved server-side at handle time, never sent through the codec.
v1.0.0 (2026-04-25)
Initial release.
- Paginated mass-storage chest: 108 slots × 10 pages = 1080 slots, default 999,999 items per slot (≈ 1 billion items total per chest).
- Custom UI page with search (powered by
CompactTextFieldwith prefix-stripping for friendly terms), page navigation, Deposit Inventory button, and per-slot click-to-take (left-click = 100, right-click = 4500 = a full empty inventory). - Auto-sort on UI close (alphabetical by item id, with stack merging).
- Owner-only 3-layer protection (DamageBlock + BreakBlock + UseBlock cancellations).
- Drop-safe block (
Material: Solid, no Support,DropList: Empty,markDeco) — never dropped by physics changes. - Block lock when non-empty: a non-empty chest refuses to be broken; only an empty chest returns the chest item to the owner.
- Crafting at the Alchemybench from 1×
Furniture_Royal_Magic_Chest_Small+ 2×Ingredient_Life_Essence_Concentrated. Toggle viacraftingEnabledin the config. - Compact quantity display for big stacks (12K, 3.5M, 1.2B) and per-slot durability percentage with green/yellow/red color tiers.
- Persistence: one JSON file per chest under
plugins/GlymeraMegaChest/chests/.
Commands
/megachest give— give yourself a Mega Chest item (OP only)/megachest reload— reloadconfig.json(OP only)