Skip to content

Semi-transparent blocks lose their transparency in renders #25

@BabylonAS

Description

@BabylonAS

Issue type:

  • ➕ Feature request

Short description:

Blocks that are partially transparent, such as stained glass, are not rendered with partial transparency, their icons are completely opaque.

Steps to reproduce the problem:

  1. Run the /iconexporter export command, no configuration is needed.
  2. Find an icon for a semi-transparent block, such as minecraft__green_stained_glass.png, in the icon-exports-x32 folder (or other folder for other resolutions).
  3. Open the file in a image viewer or editor that supports transparency (preferably with something like a checkerboard background enabled).

Expected behaviour:

The image must be partially transparent, like it is in Minecraft itself. This can be noticed if picking a semi-transparent block from the inventory and dragging it around the screen. Under the default resource pack, the hotbar has a translucent background as well, so turning the camera around while such a block is in the hotbar also affects the block’s on-screen appearance. Obviously, the regular inventory slot’s background does that too.

Sites such as the Minecraft Wiki, the FTB Wiki, and the Official Aether Project Wiki display inventory icons in a similar fashion to the game (often using the solid gray background) and thus expect icons to be semi-transparent (example). This means that fixing the issue would greatly improve the mod’s usefulness for such projects, especially mod wikis.


Versions:

  • This mod: 1.2.5
  • Minecraft: 1.20.1
  • Forge: 47.2.20

Log file:

Not a crash.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Options

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions