Featues better default compatibility: permanent inventories (like shulker boxes) should update their itemstack nbt when contents change, semi-permanent inventories (like chests) should drop contents on close, and stats, sounds, etc. should work.
Added
- ability to use items from inventory (like fireworks)
- can be stacked
- cursor stack is used on block if default block behavior fails
- axes can strip logs, hoes can till dirt, etc.
- NONE clickType can now be used to disable the mod (by default or per player)
Changed
- items are tested with the other hand if the first fails
- block items must be a single itemstack to use
- DEFAULT OPENER
- fake clicks on a block (blockstate.onUse)
- when the blocks state changes, the block entity is modified, or the screen is closed, the itemstack is replaced with the result of pick block
- blocks are fake broken on close to drop non-permanent stacks
- commands are updated
- config allows items besides block items
Removed
- explicit support removed for most mods (as default now works for them)
Config Changes
- now uses json
- always a whitelist to prevent errors using default screen opener
- can use block tags, item tags, and/or item ids
- blacklist to remove items that are added by a tag
- click type was moved to per player configs accessed by commands
- Old configs using a whitelist (def=false) should automatically transfer. Old configs using a blacklist (def=true) will log an error an need to be manually updated.
Default screen opener
- a default screen opener is used for blocks without explicit compat
- the default acts like the block was used; this may have unintended consequences for some blocks
- default uses are logged to debug
- failures to open a block are logged to debug
- most vanilla compat now uses the default which means:
- block use stats should now apply
- piglin angering should now apply
- If the default doesn't work you can request for explicit mod support
Misc
- Commands changed to match updated config
- AdditionZ support
- Fix #8: Support different sized enderchests
- Change registry loading (if anyone actually uses the api)
- Fix default config not generating correctly the first time
- Fix #6: Shulker box enchantments not preserved after opening with ClickOpener
Fix #5 - Blocks not being read from config file.
Fixes duplication issues #4
- Players will not be able to move items that are open
- Hoppers moving items will cause the item's screen to close for players
Major changes to config
- clickType added
- default added
- change to identifiers for items
Added commands
- can change config
Added compatability for ReinforcedShulkers