yarn/mappings/net/minecraft/entity/player
Juuz 47b82b427a
Improve methods related to closing handled screens (#3505)
* ChestBlockEntity.onInvOpenOrClose -> onViewerCountUpdate

The new name is more accurate - the method takes in the old and new
viewer counts as parameters.

* ScreenHandler.close -> onClosed

Fixes #3503. The method doesn't close anything, it's only called when the screen handler gets closed.

* PlayerEntity.closeScreenHandler -> onHandledScreenClosed

Fixes #2612. The method closes nothing, it just runs the closing tasks
*after* the screen has closed. The current name can easily be confused
with closeHandledScreen(), which does actually close the screen.

* Document PlayerEntity.closeHandledScreen
2023-02-20 18:40:52 +11:00
..
HungerConstants.mapping Fix typos (#2928) 2021-12-15 17:33:40 +00:00
HungerManager.mapping Fix some setters not matching fields and params (#2978) 2022-02-09 16:42:35 +00:00
ItemCooldownManager.mapping Rename partialTicks to tickDelta (#3154) 2022-05-17 11:07:03 +01:00
PlayerAbilities.mapping NBT refactor: step 3 (#2257) 2021-04-02 22:03:30 +01:00
PlayerEntity.mapping Improve methods related to closing handled screens (#3505) 2023-02-20 18:40:52 +11:00
PlayerInventory.mapping 22w06a 2022-02-09 18:58:35 +00:00