mojira.dev
MC-164001

Some textures no longer support transparency

The bug

Certain textures no longer can be retextured with a texture that is partially transparent. This affects textures that are completely opaque in the vanilla resource pack, such as:

  • Signs (20w06a)

  • Paintings

  • Item frames

  • Shields (WAI, see MC-165403)

  • Beds (Won't Fix, see MC-167243)

  • Beacon beam

  • Book on the enchanting table

  • Conduit

  • Trident (entity form)

This list may be incomplete.

Linked issues

MC-166165 Custom item models no longer support transparent textures Resolved MC-167805 Transparency does not work with paintings. Resolved MC-167897 Paintings do not support transparency in 1.15 Resolved MC-168503 Paintings lack transparency in 1.15 Resolved MC-169506 Item frames with transparent textures are black Resolved

Attachments

Comments 52

[media][media][media][media][media][media][media][media][media][media]

[^Optional[_thumb_520683.png]
[^Optional[_thumb_520684.png]

[media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media]

This bug should be expanded to encompass all textures that don't support transparency on custom textures. Specifically, items with block models do not support transparency if by default they did not have transparency, whereas in 1.14 all block-items supported transparency.

Perhaps a better name for this bug is Certain textures without transparency by default ignore transparency in custom textures.

Here is a list of all things that are different between 1.14 and 19w42a 1.15pre-1 when using my resource pack (see attached RP file) which replaces all block, item, and entity textures with a transparent texture with RGBA values (255.0, 255.0, 255.0, 0.0) which is full white with full transparency.
Items:
In 1.14, every item supported transparency, including items with block models where in block form transparency was not supported, whereas in 19w42a, these block-items no longer support transparency. See attached screenshots for inventory and entities with items comparison.

  • Items with block models in the inventory

  • Item entities with block models

  • Entities wearing or holding items with block models

  • Item frames

  • Item frame maps that have transparency (this could be marked as fixed as frames now render the outside of the frame transparent instead of just the map)

  • Paintings

  • Bed item models

  • Banners, and shield item models (shields were not transparent in 1.14 however, and shield transparency was marked as WAI

Blocks:
In 1.14, most opaque blocks did not support transparency. I will leave it up to mods/mojang to decide whether all blocks should support transparency in their texture, similarly for falling block and minecart custom display block behavior whether they should be transparent or not. For now, I will list all inconsistencies where in 1.14 they support transparency while in 19w42a they do not. See attached screenshots for block comparison.

  • Falling Blocks (all transparent in 1.14, opaque blocks are not transparent in 19w42a)

  • Minecarts with custom display block (all transparent in 1.14, opaque blocks are not transparent in 19w42a)

  • Signs (standing and wall)

  • The book on enchantment tables

  • The book on lecterns

  • The bell model on bell blocks

  • Chests

  • Trapped Chests

  • Ender Chests

  • End Portals (in 1.14 they appear black, in 19w42a they appear white)

  • End Gateways (in 1.14 they appear black, in 19w42a they appear white)

  • End Gateway Beams

  • Beacon Beams

  • Conduits

  • Beds (top and bottom)

CreeperMagnet_

This seems to affect block models that have been assigned an item model. For example, my resource pack retextures command blocks to a flat item texture, with a transparent background, and they have a black background instead.

[media]


 

{
 "parent": "item/generated",
 "textures":{ "layer0": "tcc:item/crafting_item" }
}

 

Just wanted to note that your case is part of my comment above. Basically any item that originally used a block model will ignore transparency on any texture it has. However, perhaps a better name for the bug is that 'Certain models with opaque textures by default ignore transparency in custom textures' to be more accurate

CreeperMagnet_

Ah, I see. I thought you were saying it the other way around, that items with block models wouldn't support transparency, not blocks with item models. Thanks for clearing that up.

42 more comments
Dangeresque486

This is still an issue in 1.21.1 and in the recent snapshot 24w34a, also Nick Beck's modified rendertype_entity_solid core shader file is no longer functional in 24w34a, I tried to fix it on my own but had no luck.

A lightly tested 24w34a fix. Here's hoping it works for future versions as well.

Place the following file in your resource pack here: assets\minecraft\shaders\core

[media]

This is still an issue in the current release.

Dangeresque486

Snapshot 25w16a seems to have broken the workaround from Echonix, I’m guessing the core shaders are going to be changing quite a lot in the coming weeks due to the “Vibrant Visuals” thing Mojang is doing.

Dangeresque486
[media]

Got it working for 25w17a, I think it’ll also work with 25w16a but I didn’t see much point in testing it.

Christopher Lewis

muzikbike

(Unassigned)

Confirmed

Platform

Important

Rendering

resource-pack-support, transparency

19w42a, 19w44a, 19w45a, 19w46a, 19w46b, ..., 24w14a, 1.20.5 Pre-Release 1, 1.21.1, 24w34a, 1.21.8 Release Candidate 1

Retrieved