Mojira Archive
MC-269597

Crafting table recipe book does not detect items in the armor slots of the inventory

Items that the player currently has equipped in their head slot are not detected by the recipe book, resulting in no possible recipes being displayed.

Steps to Reproduce:

  1. Run the following commands:
    /item replace entity @p armor.head with minecraft:oak_planks 64
    
    /recipe give @p *
    
  2. Open the crafting bench
  3. Open the recipe book GUI

Observed & Expected Results:

- No recipes are displayed (as long as the player has no other items in their inventory), despite the player having applicable items in their inventory.
- All recipes which are possible to craft wih 64 oak planks would be displayed, as the player has them within one of their inventory slots, and can use them to craft items.

Screenshots/Videos:

RecipeBookHeadSlot.mp4

Notes:

  1. This issue relates to MC-255758 MC-178400 MC-269598
  2. Despite block-items not normally being equipable in survival, this still impacts creative mode, and additionally affects development of datapacks, as the items are not properly detected.

Unresolved

[Mod] Jiingy

2024-03-20, 01:31 AM

2024-11-04, 03:22 PM

4

4

Confirmed

Crafting, Inventory

crafting-table, recipe-book

1.20.4 - 1.21.31.20.4, 24w11a, 24w12a, 24w14a, 1.20.5 Release Candidate 1, 1.21, 24w44a, 1.21.3

-