Add a configurable list of item materials which are forbidden to store in chests. Example:
enderchests:
# [...]
# A list of item materials which are forbidden to store in chests
# Use Minecraft item IDs displayed ingame (shortcut: F3+H)
forbiddenMaterials: [ 'andesite', 'purpur_block' ]
See this addition in action:
π Closes #110
π Will be available from v2.3.x.
Changes
Add configuration value enderchests.forbiddenMaterials to define fobidden materials.
Check validity of material names defined in the configuration during loading.
Improve InventoryManager to add a custom behaviors when dragging or clicking items.
Add a specific listener to manage inventories of enderchests. This also applies to vanilla enderchest.
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.
Description
Add a configurable list of item materials which are forbidden to store in chests. Example:
See this addition in action:![Addition result gif](https://i.gyazo.com/5d21bc6c474b157cebe17f66a58db07e.gif)
π Closes #110 π Will be available from v2.3.x.
Changes
enderchests.forbiddenMaterials
to define fobidden materials.Checklist