- RequirementAction has an optional check for op level
- ActionInventoryBuilders have an optional RequirementAction to check if players can open it
- Only ActionInventories that a player can open are suggested by the open command
Added support for [Placeholder Api](https://placeholders.pb4.eu/) in some areas:
- Gui Titles
- Gui Element's name and lore
- GiveAction items
- Messages and commands
Make sure to report any errors to GitHub issues or the discord channel.
Added:
- "chain" option inside of ActionInventory (if true reopens previous ActionInventory on close)
- /actioninventory list, load, open, and remove commands
- ActionInventories are reloaded when "/reload" is used
Changed:
- Now for 1.18.2
- Now uses datapacks instead of previous file locations (see wiki for example)
- Now uses PlayerDataApi for saving of data (this changes the location of save data)
Removed:
- config and dependency on CompleteConfig mod
Fixed:
- mixin error
- error with empty element array inside of ActionInventory
- error with empty nbt (I think)
New:
- onClose action property for builder
- onOpen action property for builder
- onAnyClick action property for builder
- onCraftRequest action property for builder
- ItemConsumable
- EntityOpener and RequirementAction now have option for Entity Predicate
- silent option in CommandAction
Other:
- giveDisplayed in GiveAction replaced with giveClicked
- GiveAction now takes an array of loot tables identifiers instead of item stacks
- CommandAction makeTempOp replaced by higherLevel
A lot of stuff has changed. The mod now uses [sgui](https://github.com/Patbox/sgui) as a backend. (If you want to programmatically create inventories that do stuff, I would recommend sgui for more flexibility).
Check out the wiki for the updated way to write inventory files.