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

Blocks drawn incorrectly in crafting grid over NEI recipe ghost #16209

Open
2 of 3 tasks
leafi opened this issue May 8, 2024 · 0 comments
Open
2 of 3 tasks

Blocks drawn incorrectly in crafting grid over NEI recipe ghost #16209

leafi opened this issue May 8, 2024 · 0 comments
Labels
Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor

Comments

@leafi
Copy link

leafi commented May 8, 2024

Your GTNH Discord Username

No response

Your Pack Version

2.6.0

Your Server

SP

Java Version

Java 21

Type of Server

Single Player

Your Expectation

Some blocks - at least the vanilla Chest, and Tinker's Stencil Table, Part Builder, and Tool Station - are drawn incorrectly when put in the slot of a ghost recipe ingredient. (By "ghost recipe", I mean the visual reminder you summon by clicking '?' on a recipe in NEI.)

gtnh-sortorder-summary

While the new, real item is totally in front of the fake ghost item, the new real item loses its ability to sort its component graphics correctly. They may even be in reverse order.

The Reality

Repro steps

  1. Have a normal Minecraft Chest in your inventory. Access a normal Minecraft Crafting Table.

  2. Search for 'hopper'. Click the first result to display the recipe. Click the '?' button.

gtnh-sortorder-1

  1. Grab a Chest or whatever. Put it in any crafting slot that has a ghost item shown.

(Note that, for some reason, the existing "ghost" Chest isn't translucent like it should be. That seems like a separate bug.)

gtnh-sortorder-2

  1. The placed item, if a Chest or similar, will have its layers drawn in the wrong order.

gtnh-sortorder-3

Other notes

Arch Linux. Launched through Prism Launcher, running in Flatpak with Prism's included Java 21.0.2 on amd64. OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.6. Using an RX 6800 XT (Navi 21).

edit: Also, I'm using these Resource Packs, in this order:

gtnh-sortorder-respacks

Yes, Angelica is in use, as is default for 2.6.0.

Hopefully this bug is easy to reproduce, and isn't system-specific.

You don't seem to need a Chest or multipart cube item in the ghost recipe for this problem to occur. e.g. using a Stencil Table on the Hopper Cart recipe, this still happens:

gtnh-sortorder-moyes

..but not if the Stencil Table is on an empty square, not a ghost square:

gtnh-sortorder-mono

Your Proposal

Ensure that, when a real Chest-like item made of multiple layers is rendered in a crafting grid square, and a ghost item is rendered underneath, the real Chest-like item does not lose the ability to draw its layers in the correct order.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
@leafi leafi added Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Tasks awaiting triage. Removed once a dev confirms the issue as valid. Type: bugMinor
Projects
None yet
Development

No branches or pull requests

1 participant