Functioning clock and compasses in "Search Items" and "Tools" tabs
Linked Issues
- Unresolved
DrownedZombie- 7
- 7
- Confirmed
- UI
- Creative
- clock compass recovery_compass
1.15.2 - 23w42a
1.15.2 20w19a 20w20a 20w20b 20w21a 20w22a 1.16-pre1 1.16-pre2 1.16-pre3 1.16-pre5 1.16-pre6 1.16-rc1 1.16 1.16.1 20w27a 20w28a 20w29a 1.16.2-pre1 1.16.2-pre3 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3-rc1 1.16.3 1.16.4-pre1 1.16.4-rc1 1.16.4 20w46a 20w48a 20w51a 21w03a 1.16.5 21w05a 21w05b 21w06a 21w07a 21w11a 21w13a 21w15a 21w17a 1.17.1 1.18 22w14a 1.19.2 1.19.4 23w16a 1.20-rc1 1.20 1.20.1 23w42a
Created Issue:
Functioning clock and compass in "Search Items" and "Tools" tab
relates to
Functioning clock and compass in "Search Items" and "Tools" tabs
Functioning clock and compasses in "Search Items" and "Tools" tabs
When using an item model that changes based off the context_entity_type property checking for a player, the result is very inconsistent between various GUIs and screens in the game that render or hold items. Below is a table documenting the different screens/GUIs, whether or not items within them consider the player as the context entity, whether or not this seems intended or correct, and any additional notes on the behavior.
| Screen/GUI | Considered as held by a player? |
Likely to be correct? | Additional notes |
|---|---|---|---|
| Toasts | No | Yes | |
| Advancements | No | Yes | |
| Statistics | No | Yes | Seems to be intended as the resolution to |
| World Creation | No | Yes | |
| Gamemode Switcher | Yes | No | Seems likely to be incorrect based on the other non-block UI screen behaviors. Not a tangible item. |
| Recipe Book Tabs | No | Yes | Seems to be intended as the resolution to |
| Creative Menu tabs | Yes | No | Inconsistent with the recipe book tabs. Seems to be unintended, as MC-182892 is confirmed but unresolved. |
| Recipe Book recipes | Sometimes | Mixed results |
|
| Crafting Table/Crafter input slots | Yes | Uncertain1 | |
| Crafting Table/Crafter output slots | No | Yes | Seems to be intended as the resolution to |
| Missing ingredient recipe displays | No | Yes | Not a tangible item, seems likely to be correct. |
| All Anvil slots | Yes | Uncertain1 | |
| All Brewing Stand slots | Yes | Uncertain2 | |
| Beacon payment slot | Yes | Uncertain1 | |
| Beacon payment example items | Yes | No | Not a tangible item. |
| All Furnace, Blast Furnace, and Smoker slots | Yes | Uncertain2 | |
| All Loom slots | Yes | Uncertain1 | |
| All Smithing Table slots | Yes | Uncertain1 | |
| All Cartography Table slots | Yes | Uncertain1 | |
| All Grindstone slots | Yes | Uncertain1 | |
| Stonecutter | Yes | Mixed Results | The selectable recipes are not tangible items, but the input and output slots should follow note 1. Currently all three considered the player as the context entity type. |
| Items in container blocks, such as Chests, Barrels, and Shulker boxes | Yes | Uncertain2 | |
| Items in the equipment/storage slots of Horses, Mules, Donkeys, and Llamas | Yes | Uncertain2 | |
| Items in the Bundle tooltip/preview | Yes | Uncertain, likely yes | |
| Villager/Wandering Trader trades list | No | Yes | Seems to be intended as the resolution to |
| Villager/Wandering Trader input/output slots | Yes | No | Seems to be unintended, MC-186849 is unresolved but confirmed, and relates to |
1 - Entirely depends on if items placed in GUI slots still considering the player as their context entity is intended behavior.
2 - Depends on if storage/container slots are intended to be treated differently from slots in GUIs that don't hold items when closed, unlike the ones covered by note 1.
Attached are screenshots of the cases listed in the chart. The item model being an apple means that it is considered as player context, and the item model being a potato means that it is not. The resource pack used to test this is also attached - various random items were used to test the different cases, so refer to the files at assets/minecraft/items to see which are changed.



I can confirm that this occurs in 20w22a. I agree that this is almost certainly intentional.
Do believe this was actually added at some point but the wiki doesn't tell me anything.
Could be I just remember something that isn't a thing
In 1.16.2 Pre-3
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w07a.
Can confirm in 1.17.1
Can confirm in 1.19.2.
Can confirm in 23w42a