EnderContainers
EnderContainers copied to clipboard
WIP: Configurable enderchest items
Description
It's time for customization! I am happy to announce that I have finally started to modify the configuration so that you can customize the enderchest items. Thanks to it, you can customize default name, type and lore of all enderchest items in the main menu AND you can create variants based on your conditions!
The goal of this addition is to be as dynamic as possible so that you can change everything according to your needs. So don't hesitate to send me your feedback or if you have other ideas! The feature is still in WIP, there is a lot more to do.
Changes
- Added following configuration section: what do you think of it?
ui:
enderchestItem:
name: '{{menus.chest_item_accessible_title}}'
type: 'LIME_STAINED_GLASS_PANE'
lore: [ ]
variants:
- condition: 'inaccessible'
name: '{{menus.chest_item_inaccessible_title}}'
type: 'BLACK_STAINED_GLASS_PANE'
lore: [ '{{menus.chest_locked}}' ]
- condition: 'filling = 100%'
type: 'RED_STAINED_GLASS_PANE'
lore: [ '{{menus.chest_full}}' ]
- condition: 'filling = 0%'
lore: [ '{{menus.chest_empty}}' ]
- condition: 'filling >= 90%'
type: 'RED_STAINED_GLASS_PANE'
- condition: 'filling >= 50%'
type: 'ORANGE_STAINED_GLASS_PANE'
- Add a system to create variants based on dynamic conditions
- Add support of locale messages usage in enderchest item names and lores
Related Issues
Resolves #32
Checklist
- [x] I have fully tested the proposed changes and promise that they will not break everything into chaos.
- [x] I followed the existing code standards and didn't mess up the formatting.
- [x] I did my best to add documentation to any public classes or methods I added.