-
Bug
-
Resolution: Unresolved
-
None
-
1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w08b, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 7, 1.18.2, 1.19 Pre-release 1, 1.19, 1.19.1 Pre-release 4, 1.19.1, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 3, 1.19.4, 23w13a, 23w14a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w44a, 1.20.4, 24w03b, 24w04a, 24w05a, 24w11a, 24w12a, 1.20.6, 1.21, 1.21.3
-
None
-
Community Consensus
-
Crafting, UI
-
Normal
-
Platform
The bug
The recipe book (correctly) auto-fills items based on the minimum stack size of the ingredients that are already in the crafting grid. However, when determining whether the player is holding enough ingredients to perform this action, the calculation uses the maximum stack size. As a result, ingredients sometimes remain in the player's inventory when a recipe is clicked.
How to reproduce
Example 1:
- Clear all items from your inventory:
/clear
- Ensure you have unlocked the block of iron recipe:
/recipe give @s iron_block
- Give yourself 27 iron ingots and a crafting table:
/give @s iron_ingot 27
/give @s crafting_table
- Place the crafting table and open it
- In the recipe book, click on the block of iron recipe twice
- Remove exactly one iron ingot from the crafting grid and place it back into your inventory
- Click on the block of iron recipe once
→ The iron ingot that you removed from the crafting grid is sent back into the crafting grid - Completely remove one iron ingot from your inventory:
/clear @s iron_ingot 1
- Open the crafting table and repeat steps 5-7
→ The iron ingot that you placed back into your inventory is not sent to the crafting grid
Example 2:
- Ensure you are in Survival or Adventure mode:
/gamemode survival
- Clear all items from your inventory:
/clear
- Ensure you have unlocked the torch recipe:
/recipe give @s torch
- Give yourself 3 sticks and 3 pieces of coal:
/give @s stick 3
/give @s coal 3
- Open your inventory
- In the recipe book, click on the torch recipe twice
- Remove exactly one stick from the crafting grid and place it back into your inventory
- Click on the torch recipe once
→ The stick that you removed from the crafting grid is sent back into the crafting grid - Completely remove one piece of coal from your inventory:
/clear @s coal 1
- Repeat steps 5-8
→ The stick that you placed back into your inventory is not sent to the crafting grid
- relates to
-
MC-264986 Item count of fuel slot affects the way smelting recipe book moves ingredients
- Resolved