inventory-framework
inventory-framework copied to clipboard
File-based view
Create view from file templates, proposal will be explained soon.
YAML format example
title: "My view"
size: 3
type: chest
auto-update: 20
layout:
- "XXXXXXXXX"
- "XOOOOOOOX"
- "XXXXXXXXX"
slots:
1:
item:
# describe stack somehow
actions:
- "message 'Hello!!!'"
2:
item:
# describe stack somehow
actions:
- "close"
Context-specific
context:
title: "My view"
Types
VirtualView
Name | Type | Description |
---|---|---|
title | string | The container title. |
size | int32 | The container size. |
type | string | The view type. |
auto-update | int64 | View update interval (in ticks). |
context | VirtualView |