Changes and new features
- Added item's durability
and damage conditions
- Prevents if the held item's durability or damage value matches the condition
Fixes and minor changes
- "useItem:" category now is checked also when right-clicking a block
Changes and new features
- Added block state condition
- Prevents if the block has the specified state with the specified value
- Added item enchantment condition
- Prevents if the held item has the specified enchantment
- Added item's custom name condition
- Prevents if the held item has the specified custom name. Will be passed if the item has no custom name
Fixes and minor changes
- Fixed incorrect work of the Not operator for the "place:" category
Changes and new features:
- Removed clickThrough condition
- This pseudo-condition didn't fit the idea of the mod and could easily break its logic when used in the configs
- Added new condition category "useItem:" for checking actions of using item stacks
- Doesn't matter if there is a block the player is looking at
- Blank lines in configs are now ignored as well as comments
Fixes and minor changes:
- Fixed that "place:" category was preventing using items (like food, writable_book, etc.) and interactions with blocks like crafting table, chests, furnaces, etc.
- Fixed IsSneakingCondition being identically false
- Added a check for preventing loading a configuration with a name containing the '_' character