Ender IO Zoo

Ender IO Zoo

964k Downloads

[1.9] Render Bug

kraineff opened this issue ยท 9 comments

commented

Issue Description:

Look at the picture. Menu on the second screen render double left image on first screen

Affected Versions:

  • EnderIO for Minecraft: 1.9

9159ebb5bfb19346c2d8fdd59520059f
7c1cc0104c728336d988ff9de9ce943e

commented

That's a problem with the texture pack.

commented

@HenryLoenwind no. I checked

commented

It's not texture pack problem it's ui bug.

commented

This bug with many machines, but transiver doesn't :)
d32d995edd24c2a9f5a1e14372cddf4e

commented

The power monitor looks fine with no texture pack:
screenshot 2016-06-01 14 21 56

As such, it is definitely a resource pack issue.

commented

Are the tabs on the power monitor longer than the one on the transciever?

commented

He is not wrong, they render differently. It is an inconsistency and makes texturing difficult.

commented

I'l redo those tab graphics. I wanted to go over the tab code anyways.

commented

For anyone who wants to texture the tabs with the news system:

There are now 3 textures that are rendered above each other. Lowest layer is the background (3rd "row' on the icon sheet). It will be rendered left-aligned, overlapping the main window by 3px and will be 3px shorter than the tab width. For inactive tabs those pixels will be skipped. Next is the left side (2nd texture). It will be rendered the same way as the background. Last one is the right side. It will be rendered right-aligned, 3px shorter than the tab width (meaning it will not overlap the main window).

Depending on your border style you may not want the left or right texture to render all the way. In that case just delete most of one of them. You only need the outermost 3px, the rest is overlapped.

If there's a need for it, it'll change the background texture u-mapping to align with the main texture's width. But for this I'd have to know the tiling grid size of your background (or make a texture that is as wide as possible).