mirror of https://github.com/FabricMC/yarn.git
Add MONOCHROME_LOGO to Option (#2279)
* Add MONOCHROME_LOGO to Option 21w13a added the "Monochrome Logo" toggle in Accessibility settings, which makes the background in the mojang logo turn black instead of red, to reduce strain on the eyes. This change will give the Option for that the name MONOCHROME_LOGO * Add tooltip to mappings * Update GameOptions.mapping * Change monochromeBackground to monochromeLogo in GameOptions Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Add lambda parameters for MONOCHROME_LOGO * Change value to monochromeLogo in lambda parameter Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
This commit is contained in:
parent
cf91ca9aa8
commit
4e9e0cea8f
|
@ -109,6 +109,7 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_26845 keySocialInteractions Lnet/minecraft/class_304;
|
||||
FIELD field_26926 hideMatchedNames Z
|
||||
FIELD field_28777 hideBundleTutorial Z
|
||||
FIELD field_32156 monochromeLogo Z
|
||||
METHOD <init> (Lnet/minecraft/class_310;Ljava/io/File;)V
|
||||
ARG 1 client
|
||||
ARG 2 optionsFile
|
||||
|
|
|
@ -58,6 +58,8 @@ CLASS net/minecraft/class_316 net/minecraft/client/option/Option
|
|||
FIELD field_26925 HIDE_MATCHED_NAMES_TOOLTIP Lnet/minecraft/class_2561;
|
||||
FIELD field_27956 TOGGLE_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_27957 HOLD_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_32146 MONOCHROME_LOGO Lnet/minecraft/class_4064;
|
||||
FIELD field_32148 MONOCHROME_LOGO_TOOLTIP Lnet/minecraft/class_2561;
|
||||
METHOD <init> (Ljava/lang/String;)V
|
||||
ARG 1 key
|
||||
METHOD method_18513 (Lnet/minecraft/class_315;)Ljava/lang/Double;
|
||||
|
@ -440,3 +442,9 @@ CLASS net/minecraft/class_316 net/minecraft/client/option/Option
|
|||
ARG 0 gameOptions
|
||||
METHOD method_32593 (Lnet/minecraft/class_315;)Ljava/lang/Integer;
|
||||
ARG 0 gameOptions
|
||||
METHOD method_35708 (Lnet/minecraft/class_315;)Ljava/lang/Boolean;
|
||||
ARG 0 gameOptions
|
||||
METHOD method_35709 (Lnet/minecraft/class_315;Lnet/minecraft/class_316;Ljava/lang/Boolean;)V
|
||||
ARG 0 gameOptions
|
||||
ARG 1 option
|
||||
ARG 2 monochromeLogo
|
||||
|
|
Loading…
Reference in New Issue