maruohon / litematica

A modern client-side schematic mod for Minecraft
GNU Lesser General Public License v3.0
686 stars 190 forks source link

Add option for Vanilla-like pick block #807

Open f-michaut opened 6 months ago

f-michaut commented 6 months ago

Is your feature request related to a problem? Please describe. When building in creative, I sometimes want to pick blocks from a schematic. I am used to the vanilla-like behavior of the pick block placing the block in the slot I currently have selected (so I make sure to always hold something I don't care about before picking a block). The behavior is different when picking from a schematic, because it will place it in the 1st slot, then 2nd slot, no matter which slot is selected. Furthermore, it will delete the item from the inventory. It does not attempt to push it in the player's inventory like the vanilla pick block does. (and it deleted a few times block with NBT data that I was keeping in my hotbar).

Describe the solution you'd like An option to make the pick block behave like the vanialla one : replace the block you are holding with the targeted one, and attempt to push the replaced item in the inventory instead of deleting it (that 2nd point could be implemented regardless of the pick block mode)

Describe alternatives you've considered While there is an option to select which slots to replace items from when picking items, it does not work in this situation because I don't know in advance which items in my hotbar I want to be replaced.