
Select version for changelog:
Changelog
Changelog - Lilium Backpacks
[1.1.0]
Added
- Placeable Backpack Block System: Added full support for placing backpacks in the world as physical 3D blocks by crouching (
sneak+ right-click). Includes custom block componentslb:before_placefor placement validation andlb:on_breakfor item recovery. - Dynamic 2D Block Permutation Matrix: Implemented
lb:v_hi(0–1) andlb:v_lo(0–10) block state permutations inlb:backpack_blockto encode all 22 backpack visual variants (16 dye colors + 6 material tiers) into a single block definition. - Block Geometries & Orientation: Added
backpack_block.geo.json3D model and integratedminecraft:cardinal_directionstate mapping for 4-way cardinal block alignment. - Orphaned Container Safety Net: Added automatic block presence validation in
BackpackEntity.jsthat detects forced block destruction (e.g. via/fillcommands) and safely drops a recoverable item stack to prevent container loss.
Changed
- Modular Script Architecture: Refactored script architecture into a clean, decoupled module structure under
BP/scripts/api/(EntityRuntime.js,Logger.js,GMath.js) andBP/scripts/modules/(BackpackEntity.js,PlayerController.js,PlacementSystem.js,PlacedBackpackSystem.js,UpgradeSystem.js,DyeSystem.js,events.js,constants.js). - Direct World Interaction: Upgrading (via upgrade kits) and dyeing backpacks (via Minecraft dyes) can now be performed directly on placed world containers, removing the legacy requirement of equipping the backpack in the offhand slot.
- Refactored Array Proxy Mutation Interceptor: Optimized
EntityRuntime.jsProxy implementation to intercept only mutating array methods (push,pop,splice,shift,unshift,sort,reverse), eliminating heavyJSON.stringifyserialization on read-only array iterations (forEach,map,find,.length). - Garbage Collection Throttling: Throttled
gc()cache cleanup execution inEntityRuntime.jsto run periodically every 100 ticks (~5 seconds) instead of every tick, significantly reducing TPS overhead on high-population servers. - UI Folder Organization: Consolidated custom container UI definition files into
RP/ui/lilium_backpacks/with dedicated templates for all 6 inventory tiers (from 9 to 54 slots). - Version Update: Updated
manifest.jsonversions from1.0.0to1.1.0.
Fixed
- Structure Manager Duping & Item Loss Safeguards: Wrapped structure saving (
saveBackpackStructure) in a robusttry-catch-finallyblock, ensuring nearby entities marked withlb:structure_savedare always cleaned up infinally, preventing accidental item deletion or ghost duplication upon structure save failures. - Pending Placement Memory Leak: Added automated single-tick cleanup (
system.runTimeout) inPlacementSystem.jsforpendingPlacementsentries when block placement is cancelled by claims/protection plugins or engine events. - Safer Item Upgrade & Dye Consumption: Enhanced
UpgradeSystem.jsandDyeSystem.jsto trackselectedSlotIndexand re-verify held item identity before item consumption (consumeSelectedItem), preventing accidental item loss if players switch active hotbar slots during interaction.
Downloads
- Lilium Backpacks - V1.1.0.mcaddon (358.4 KB)
Supported Minecraft versions
You may also like...
Installation Guides
1
Nikkolai >:)
July 20, 2026 at 6:24 pm
remove that bug backpack in creative mode
Bijikers122
July 20, 2026 at 9:43 am
support action and stuff?
1
Lilium Studio
July 20, 2026 at 11:14 am
Yes, it is compatible with Actions & Stuff



