Custom items created through add-ons have component tags which change its appearance: "minecraft:hand_equipped" and"minecraft:foil" are good examples of this. While these function perfectly in a singleplayer world, and on a host's client, this isn't true for any new players which join. Any player which enters the world (after downloading the appropriate resource packs) sees the item rendered improperly. Items with said tags use the default rendering; without the re-oriented texture or the enchantment glint.
This is likely because behavior packs are server-side, while resource packs are client side. Because these attributes are defined in the behavior pack, they therefore are only used on the server and its host, and aren't distributed to the connecting clients.
While I was using a Windows 10 PC, I was also playing with an iPhone. I used the same add-on on both, and tested connecting both ways, and it held true; it seems to be a problem not associated with any specific version on Minecraft, but rather the way behavior packs are handled with the server.
The two screen captures were taken on the Windows 10 PC;
Steve is the PC player, the custom character is from my iPhone.
In one image, (with the sand) Steve is hosting the game, and the items are properly rendered, on his end. On my iPhone, they are not rendered correctly.
In the other, (with the trees) Steve has joined the game, and the items have lost their visual attributes, on his end. On my iPhone, (the host), they are rendered correctly.
Please note that this does not effect gameplay, but rather is a visual issue.
Yes, I did clear cached data beforehand, to see if a previous version of the pack in the cache was somehow overriding it. I have only observed this issue in the latest version, but only because I hadn't been in a situation where this is applicable.
Have a good day, and a Happy New Year!
Attachments
Comments 9
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Steps to Reproduce:
Make a normal custom item behavior and make sure that the item has the "minecraft:hand_equipped" component set to true.
Make the resources for the item and make sure that the item appears in your inventory when you give it to yourself.
Apply the behavior and resource pack to a world and give yourself the item
While holding the item on one account, join the game on another account. On the host account the item should look like it's held like a sword, while on the second account it will look like the first account is holding a regular item.
Observed Results:
For some reason components like "minecraft:hand_equipped" and "minecraft:foil" only work on the account that is hosting the world.
Expected Results:
Every player should be able to see the items the same way, no matter if they are hosting the world or not.
Hope this helps.
I've made the same discovery with the component "category".
Affected Versions: 1.16.40
Steps to Reproduce:
**under
resource_pack/test_res_pack/items/test_item.json
i have
"description": { "identifier": "test:test_item", "category": "tools" },
The category tools make it that the (host) player sees the item as a tool.
A second player on the world sees the item render offset not as a tool.
Observed Results:
The host player sees all items as they should be, another player in the same world sees them always with the same (sometimes wrong) item offset
Expected Results:
All the other players should see the items as the host
Yes I still have this issue as seen in the attachments (testet in 1.16.221)
Right:
[media]Wrong:
[media]This issue can be closed? This is because I did not know that you have to put `"minecraft:hand_equipped": true` in the behavior part of the item. It is still an inconsistency but can be fixed by the operator.
Issue already has an explanation in comments section. Can be fixed by operator. Closing as cannot reproduce.
I am also having this issue. The version I am running is 1.16.40.