Changes and new features
- Added support for restrictive plugin messages sent from the server to limit the mod's functionality just a little if some of the implemented conditions violate
the server rules. It should make the mod more friendly for use on different servers.
- If the server is restricting some of the conditions you have used in your configs, you will get
an error message in the chat once you join or use the
/pb config update
command. - To see the list of the implemented message, check the mod's description.
- If the server is restricting some of the conditions you have used in your configs, you will get
an error message in the chat once you join or use the
Fixes and minor changes
- Fixed "useItem:" category behavior when looking at an interactive block
- Removed the limitation for config names to have "_" character
- Configs with the same name will not override each other
- Exception messages now are more informative and supports localization
- Automatic update of configs now starts when the player joins the world
Changes and new features
- Updated to 1.21.6/1.21.7
- Added player coordinate conditions
- Added dirt path creating condition for preventing
Fixes and minor changes
- Fixed when stripping wood condition cancelled unnecessary cases of right click, e.g. when the player have a shield in the offhand (the game prevents it itself to call another action)
Changes and new features
- "other:" category replaced by "interactBlock:" category:
-
It's difficult for me to remember why the category simply for both place and block was created, but now it makes much more sense.
"interactBlock:" category handles any right-click interactions with block, without checking whether it is interactive
-
- Message of
/pb config list
is clickable now: open config file or toggle it
Fixes and minor changes
- Added shorten value "empty" meaning "block.minecraft.air" for using in configs (i.e. item:empty)
- Sensitive to whitespaces in configs has become less strict
Fixes and minor changes
- Fixed stripping wood condition. Now it works from "useItem:" category;
- Fixed "carpet on carpet" condition was preventing placing any block on top of the carpet-type block
- Added pale oak into stripping condition;
- Added pale moss carpet indo "carpet on carpet" condition
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 ignored (will not prevent) 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