Shift clicking
This commit is contained in:
@@ -61,6 +61,11 @@ Give the block `"interactive": true` so clients don't guess that the click place
|
||||
client. `on_take` is the place to use up a recipe's inputs, so taking the result and spending the inputs happen in the
|
||||
same step, like the smithing table does.
|
||||
|
||||
Shift clicking follows the same rules. A stack shift clicked in the player's inventory goes into the screen's slots in
|
||||
`layout` order, only those whose `filter` takes it and never `output_only` ones: first onto stacks of the same item,
|
||||
then into empty slots. A stack shift clicked in the screen goes to the player's inventory, and an `output_only` slot
|
||||
only gives its item that way when it all fits, after `on_take` agrees.
|
||||
|
||||
## Progress Bars
|
||||
|
||||
`bars` draws progress bars, filled with one property divided by another:
|
||||
|
||||
Reference in New Issue
Block a user