Better Pick Block
While playing Minecraft, I regularly use the block selection function for quick access to needed resources. However, a common situation occurs when there are no free slots on the quick access panel, and as a result, my pickaxe or other necessary tool gets moved to the inventory, making way for the selected block. This problem caused significant frustration and served as the reason for creating this mod.
The main function of the mod is to prevent the replacement of tools and other important items when using block selection. Additionally, you can set alternative blocks that will be automatically selected if the required block is not in your inventory.
For example: I need to patch a hole in the ground, so I select a grass block. If there are no grass blocks in the inventory, dirt blocks will be used instead.
All settings determining which items should not be replaced, as well as the list of alternative items, can be modified in the configuration file .minecraft/config/bpbconfig.hcl