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

Semi-transparent blocks lose their transparency in renders #25

Open
BabylonAS opened this issue Jan 23, 2024 · 4 comments
Open

Semi-transparent blocks lose their transparency in renders #25

BabylonAS opened this issue Jan 23, 2024 · 4 comments

Comments

@BabylonAS
Copy link

BabylonAS commented Jan 23, 2024

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.

@rubensworks
Copy link
Member

Thanks for reporting!

@rubensworks
Copy link
Member

Not really a bug though, more of a feature request I'd say :-)

This is not on my roadmap to support atm, but PRs are definitely welcome.

@elifoster
Copy link

It's definitely a bug.

@rubensworks rubensworks moved this to Options in Features Jun 24, 2024
@RedTeaco
Copy link

Not really a bug though, more of a feature request I'd say :-)

This is not on my roadmap to support atm, but PRs are definitely welcome.

I have the same problem, fix it pls :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Options
Development

No branches or pull requests

4 participants