How herobrine643928/chest-ui works
Chest-UI is a Minecraft: Bedrock Script API pack for building chest- and furnace-styled action forms. Its example workflow starts when a player uses a compass, opens a chest menu, and handles the selection; the example can open a furnace menu and return to the chest menu. The form builders format item labels, lore, stack counts and durability, then show the form and return a response. The resource pack supplies layouts and textures. README capabilities include inventory display, custom sizes, patterns and custom item mappings; unsampled UI configuration links are based on the tree and README, not inspected source.
Main entry points: forms.js Chest form builder · index.js Example event menus · chest_server_form.json Chest layout · _global_variables.json UI settings
Components 14
Example workflow
- Example event menus
BP/scripts/index.js
Form builders
- Chest form builder
BP/scripts/extensions/forms.js - Furnace form builder
BP/scripts/extensions/forms.js - Sizes and item config
BP/scripts/extensions/constants.js - Texture ID maps
BP/scripts/extensions/typeIds.js
Resource pack
- Chest layout
RP/ui/chest_server_form.json - Furnace layout
RP/ui/furnace_server_form.json - Inventory section
RP/ui/chest_inventory_system.json - UI settings
RP/ui/_global_variables.json - UI definitions
RP/ui/_ui_defs.json - UI textures
RP/textures/ui
Other components
- Player
- Bedrock Script API
- Action forms
Connections 19
- Player → Bedrock Script API: uses item
- Bedrock Script API → Example event menus: dispatches event
- Example event menus → Chest form builder: builds menu
- Example event menus → Furnace form builder: builds menu
- Chest form builder → Sizes and item config: reads config
- Furnace form builder → Sizes and item config: reads config
- Chest form builder → Texture ID maps: maps icons
- Furnace form builder → Texture ID maps: maps icons
- Chest form builder → Action forms: creates and shows
- Furnace form builder → Action forms: creates and shows
- Action forms → Player: shows form
- Player → Action forms: selects button
- Action forms → Example event menus: returns response
- UI settings → Chest layout: configures layouts
- UI settings → Inventory section: configures section
- UI definitions → Chest layout: defines UI
- UI definitions → Furnace layout: defines UI
- UI textures → Chest layout: supplies visuals
- UI textures → Furnace layout: supplies visuals