-
Notifications
You must be signed in to change notification settings - Fork 390
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
Container -> ScreenHandler #1106
Conversation
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.
Conceptually ok, no in-depth review.
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.
We could keep arguing about this forever, and hence keep being stuck on "container". I'm in favour of this PR - it's time to move onto a better name. Sometimes coming up with a name that perfectly describes function while not being 1000 characters long just isn't possible. ScreenHandler
is as good as any that anyone is going to come up with.
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.
There's some problems like comments which are missing, but overall it's nice.
mappings/net/minecraft/network/listener/ClientPlayPacketListener.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/network/packet/s2c/play/OpenHorseHandledScreenS2CPacket.mapping
Outdated
Show resolved
Hide resolved
mappings/net/minecraft/screenhandler/ArrayPropertyDelegate.mapping
Outdated
Show resolved
Hide resolved
I'll fix the comments at the end so they don't get nuked again. |
Could you update this to 20w07a? |
Imo this is just a |
mappings/net/minecraft/client/gui/screen/ingame/CraftingTableScreen.mapping
Show resolved
Hide resolved
Ok this is all updated with the comment issue fixed & should be ready. |
After rechecking a last time comments, there's still some missing (like in |
@@ -0,0 +1,9 @@ | |||
CLASS net/minecraft/class_1712 net/minecraft/screen/ScreenHandlerListener |
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.
Maybe just "screen listener"?
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.
Hm, what exactly does this listen for?
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.
or ScreenUpdateListener
? HandlerListener
sounds... extraneous?
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.
ScreenHandleCallback
as this is like a callback when the screen handling is done
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 think this is mostly agreed upon, changes look good. We will need to deprecate fabric api's fabric-containers-v0
and create a new module. I think we need to open an issue/pr about this. This is a good time to apply any changes to that api.
I mean since almost all mods broke on 10a, I think now may be the best time for that |
@Prospector could you fix conflicts? |
Merge conflicts, and then I see no reason not to |
This is the culmination of many issues, PRs, and discord chats. While I completely understand those in favor of using the mojang name
Menu
(I supported it for a long time too!), the opinion against it is too strong. I hope that we can settle on this being more preferable to the existing name,Container
, though.