-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
mappings/net/minecraft/client/gui/screen/ButtonTextures.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,34 @@ | ||
CLASS net/minecraft/class_8666 net/minecraft/client/gui/screen/ButtonTextures | ||
COMMENT A set of button textures. It contains four texture choices, one of each of the cases | ||
COMMENT where a button is enabled/disabled and focused/not focused. | ||
FIELD comp_1604 Lnet/minecraft/class_2960; | ||
COMMENT the texture for when the widget is enabled, but not focused | ||
FIELD comp_1605 Lnet/minecraft/class_2960; | ||
COMMENT the texture for when the widget is disabled, but not focused | ||
FIELD comp_1606 Lnet/minecraft/class_2960; | ||
COMMENT the texture for when the widget is enabled and focused | ||
FIELD comp_1607 Lnet/minecraft/class_2960; | ||
COMMENT the texture for when the widget is disabled and focused | ||
METHOD <init> (Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V | ||
COMMENT Constructs a set of button textures where only focusing the widget affects | ||
COMMENT the textures. | ||
ARG 1 unfocused | ||
COMMENT the texture for when the widget is not focused | ||
ARG 2 focused | ||
COMMENT the texture for when the widget is focused | ||
METHOD <init> (Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V | ||
COMMENT Constructs a set of button textures where both disabled cases use the same texture. | ||
ARG 1 enabled | ||
COMMENT the texture for when the widget is enabled, but not focused | ||
ARG 2 disabled | ||
COMMENT the texture for when the widget is disabled | ||
ARG 3 focused | ||
COMMENT the texture for when the widget is enabled and focused | ||
METHOD method_52729 get (ZZ)Lnet/minecraft/class_2960; | ||
COMMENT Gets a specific texture option from this texture set. | ||
COMMENT | ||
COMMENT @return the texture identifier matching the widget state | ||
ARG 1 enabled | ||
COMMENT {@code true} if the widget is enabled, {@code false} otherwise | ||
ARG 2 focused | ||
COMMENT {@code true} if the widget is focused, {@code false} otherwise |