Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachables ignored by any armor piece (leather armor) #5040

Open
Tydium opened this issue Sep 15, 2024 · 3 comments
Open

Attachables ignored by any armor piece (leather armor) #5040

Tydium opened this issue Sep 15, 2024 · 3 comments

Comments

@Tydium
Copy link
Contributor

Tydium commented Sep 15, 2024

Describe the bug

I've noticed some pretty interesting behavior when trying to apply attachables to any items under any leather armor piece (Also tested iron/netherite armor and its applied there too.)

Basically, when trying to setup armor you can't apply any attachables to the armor other than the "layer" attachable. Reason Im trying to apply more than just the layer is because my inventory icon is too big. I could just downscale it but it would look ugly, so I tried to use an attachable to give it custom geometry in the hand to make it smaller but it seems my attachable is just completely ignored. I switched the mapping of the item to another item like "coal" to see if it would apply and it did. So im a bit curious on why its not working. It seems that no matter what it always just takes the "inventory icon".

To Reproduce

1.) Create a custom armor mapping on any armor piece (I used leather_boots).
2.) Setup your resource pack normally. Make it work with your armor layer and give it the inventory icon that's comically larger than 16x16. (I had to render mine out in block bench since 3d items won't show up in inventory).
3.) Your gonna notice that "oh shit my hand icon is fuckin HUGEEEEEEEEEEEEE. Let me add geometry to the attachable that forces the icon to be smaller". This is where you would do exactly that lol. I ended up making two attachables in this process. A layer attachable and the normal attachable for the item in hand.
4.) You try to use the attachables and they wont work. Try it on any other base item and it will work.

Expected behaviour

I want to not have my attachable ignored by the specific item mapping. It works on any other item model mapping.

Screenshots / Videos

image
image

I attached the output to the attachables I had written. For the geometries and render controllers I followed this https://wiki.bedrock.dev/items/high-resolution-items.html

Server Version and Plugins

No response

Geyser Dump

https://dump.geysermc.org/GiKcpC3o2ZhhMJ6fe8YXhboSR9UO2IHB

Geyser Version

Geyser version 2.4.2-b647 (git-master-0bc39d5) (Java: 1.21, Bedrock: 1.20.80/1.20.81 - 1.21.20)

Minecraft: Bedrock Edition Device/Version

Windows 11

Additional Context

Im unsure if I even made sense writing 90% of this. So feel free to ask me to elaborate (its 4:13AM)

@Tydium
Copy link
Contributor Author

Tydium commented Sep 15, 2024

Now discovering that this applies to anything that can be "worn". CARVED_PUMPKIN also go through the same issue as well.

@onebeastchris
Copy link
Member

Are you able to use such attachables on armor with a BDS server?

@Tydium
Copy link
Contributor Author

Tydium commented Sep 26, 2024

I gotta check to be sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants