If one makes a resource pack and intends to hide the slot like below, clipping the item to a 16x16 slot is not viable. Additionally, if you were to have an item larger than the specific 16x16 space, it causes visual errors in items in your inventory (as shown below), we could have it clip to just enough (1.125x item model scale) to allow this feature and keep the clipping ability, though it would need space around each item lest you get it flowing into other items.
Steps to reproduce:
Open using the recent snapshot
Download and mount the resource pack
Copy in the an item from the following code, other options for the custom model data string are:
empty
,right_arrow
,left_arrow
,cross
,left_arrow_disabled
,right_arrow_disabled
/give @s stick[
minecraft:item_model="minecraft:gui_button",
minecraft:item_name={"text":"Back"},
minecraft:custom_model_data={
strings:["minecraft:left_arrow"],
flags:[true]
}
]
observe the item you receive does not cover the borders as it was designed to and previously used to.
observe that some items in your inventory might just vanish.
Try again on 1.21.5 and notice it works as expected.
Environment
Windows 10
Linked issues
is duplicated by 3
relates to 1
Attachments
Comments 9
I was able to reproduce the bleeding, it’s accomplished by the composite model type.
/give @s stick[minecraft:item_model="bleed_test"]
[media]Actually I guess any model type it is bleeding to other items in the inventory. And I guess you don’t need to refresh the resource pack immediately after obtaining the item
That’s probably related to that recent fix MC-276264 .
I really don't know, but in any case, that is a common technique used in RP and I think it is a big loss, so a solution or an alterantive would be appreciated.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
This report does not describe a bug.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Confirmed, however I didn’t manage to reproduce the bleeding.