Skip to content

open the hopper, dispenser and dropper screens - #866

Merged
Purdze merged 1 commit into
masterfrom
container-screens
Nov 2, 2026
Merged

Purdze merged 1 commit into
masterfrom
container-screens

Conversation

@Purdze

@Purdze Purdze commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor / code cleanup
  • Performance improvement
  • Chore / tooling
  • Documentation

Summary

part of "GUI's empty" from #776: hoppers, dispensers and droppers now open their screens instead of closing the menu straight away. shift clicks move stacks between the contents and the player inventory, and right clicking them with a block in hand opens the menu instead of placing.

the shulker box, hopper and dispenser screens share one grid builder, and the furnace and dispenser share the centred title.

brewing stand and crafter are left for follow-ups.

Reference

HopperScreen, HopperMenu, DispenserScreen, DispenserMenu, MenuType

Testing

  • new blocks/container_screens: opens each block, checks title and contents, shift clicks the stack into the hotbar; screens line up with the vanilla harness
  • player/containers still passes
  • unit test for the shift click routing

@github-actions github-actions Bot added the bug Something isn't working label Nov 1, 2026
@Purdze
Purdze merged commit 470527d into master Nov 2, 2026
12 checks passed
@Purdze
Purdze deleted the container-screens branch November 2, 2026 10:29
@Purdze Purdze mentioned this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant