Skip to content

Conversation

@Zorbatron
Copy link
Member

What

  • Fixes the green JEI overlay when an ingredient is hovered over when cheat mode is enabled.
  • Allows dragging enchanted books into phantom slots.
  • Fixes the Crafting Station slots not having an overlay when you hover over them.

Outcome

Phantom slot overlays look nicer and have more function

Additional Information

Remind me to remove the mixins once CleanroomMC/ModularUI@5af9d83 and CleanroomMC/ModularUI#146 make it into a release that we use.

@Zorbatron Zorbatron requested a review from a team as a code owner May 22, 2025 01:28
@Zorbatron Zorbatron added type: refactor Suggestion to refactor a section of code type: bug Something isn't working and removed type: refactor Suggestion to refactor a section of code labels May 22, 2025
Copy link
Contributor

@ALongStringOfNumbers ALongStringOfNumbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The green overlay is rendered over the red missing items overlay in the crafting station, not sure what should be done in that case.

You can drag itemstacks into a fluid slot, and clicking doesn't cancel the itemstack drag like I would expect like in other cases of failed drag. There is no highlight target though, which is good.

Something might have messed up with the ghost drag cancelling, because in this PR, in the storage page of the crafting station, you can start a ghost drag even if there is no target, but not on master

@Zorbatron
Copy link
Member Author

Those should all be fixed now

@Zorbatron Zorbatron merged commit 7b0d46d into master Sep 15, 2025
3 checks passed
@Zorbatron Zorbatron deleted the zb/jei-drag-overlay-fix branch September 15, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants