mojira.dev
MC-269190

Copper trapdoor textures are incorrectly rotated when open

I was getting a head start retexturing oxidized copper trapdoors to vents for my resource pack but I noticed the UVs rotate when opening/closing them. I thought I did something wrong until I realised it's vanilla behaviour and all of the copper trapdoors do that.

Related issues

Attachments

Comments

migrated
[media]
Arisa Bot

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

migrated

Makes zero sense that anyone can select "Future Versions" instead of only Mojang employees. I'm new to here and thought it was referring to experimental features for future versions. To any mods reading this, I think it would be a good idea to change that or add some sort of clarification.

EpicGamerX125

I would think this is probably a feature request, as the visuals of copper trapdoors are similar to those of oak, dark oak, and iron trapdoors, which use the standard trapdoor models. To get around the issue you are having, you can make the models of copper trapdoors in your pack parent the orientable trapdoor models, which spruce, birch, jungle, acacia, etc. trapdoors use. You may also have to edit the block states file to differentiate top and bottom open trapdoors.

migrated

I thought so at first too but with trapdoors like acacia trapdoors, you can see it doesn't have that issue. Same goes with all the other trapdoors. The problem is an incorrect rotation of the model itself in the blockstates json.

[Mod] Jingy

This looks like MC-138280

migrated

That is slightly different. This affects the textures in a far more noticable way, and only copper trapdoors do it. Otherwise if you open acacia or spruce trapdoors, the lines at the top would be rotating axises upon opening instead of staying in one direction.

I copied the JSON file for the blockstates of another trapdoor type for my vent and it fixed the issue, so it's definitely a copper trapdoor thing only. Again, it's solely due to an incorrect set rotation in that file, since these trapdoors use the trapdoor template model like all the others. That appears to be a proper texture mapping issue, while this is just a rotation issue.

EpicGamerX125

Like I said in my comment, oak, dark oak, and iron trapdoors do it too, not just the copper ones.

[MOD] Greymagic27

After reading this discussion and MC-138280, I believe this is a duplicate.

Copper trapdoors use the same base model as pointed out here meaning they'll have the same issues as mentioned on MC-138280

migrated

(Unassigned)

Unconfirmed

Textures and models

24w10a

Retrieved