-
Notifications
You must be signed in to change notification settings - Fork 370
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
ScreenHandler -> Menu #1165
ScreenHandler -> Menu #1165
Conversation
how do i concern emote on github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite a few places where you've reverted handler
to container
.
mappings/net/minecraft/client/gui/screen/ingame/AnvilScreen.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/client/gui/screen/ingame/BeaconScreen.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/client/gui/screen/ingame/BrewingStandScreen.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/client/gui/screen/ingame/CartographyTableScreen.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/client/gui/screen/ingame/CraftingTableScreen.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket.mapping
Show resolved
Hide resolved
mappings/net/minecraft/network/packet/s2c/play/ConfirmGuiActionS2CPacket.mapping
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont see this being merged in, we just spent months coming to an agreement on a replacement to Container.
We won't be changing names like this every day.
#1106 Was mostly agreed upon to not be bad, it had no outstanding reviews.
Phew. I was just about to say I'd go commit die if it were to get merged. |
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
It creates a bunch of nonsense names like |
We were aware of those 2 places, and agreed menu wasn’t the right for us. |
It's the same method as Nameable.getDisplayName() which is also used by entities such as players. (I don't think players have a title? :P)
Co-authored-by: liach <liach@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just so you know, I dont see this been merged. A lot of discussion happened over a long period of time and it was clear the Menu
was not the right choice for yarn.
Feel free to maintain your own fork that has these changes, but we wont be making large yarn changes every other day driving mod devs nuts.
Yes, I know this most likely won't ever get merged. I will still maintain this for my own use, though, as |
@Juuxel so can I close this pr so I am less concerned with the number of open prs in yarn... I want things clean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based
screenhandler bad |
i have to defend from 2 words names, back to container bois |
screenhandler bad |
this is forever going to be a part of history of blockgame |
Replaces
ScreenHandler
withMenu
, as seen in various registry and logging strings.The name
Menu
is shown in unobfuscated names such as thecreateMenu
method or theminecraft:menu
registry (which Yarn incorrectly callsSCREEN_HANDLER
).This PR is the successor of #846. Also includes parts of #1166.