Pattern name BACKSLASH_S_PATTERN does not indicate what the pattern does (#2990)

* The name of the regex was unclear. Now knowing the properties of the regex, the function name can also be changed to something clearer.

* WHITESPACE_PATTERN indicates the behaviour of the regex more clearly.
This commit is contained in:
CyborgCabbage 2022-01-29 18:18:08 +00:00 committed by GitHub
parent c968285953
commit d586fb599b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
CLASS net/minecraft/class_4717 net/minecraft/client/gui/screen/CommandSuggestor
FIELD field_21596 BACKSLASH_S_PATTERN Ljava/util/regex/Pattern;
FIELD field_21596 WHITESPACE_PATTERN Ljava/util/regex/Pattern;
FIELD field_21597 client Lnet/minecraft/class_310;
FIELD field_21598 owner Lnet/minecraft/class_437;
FIELD field_21599 textField Lnet/minecraft/class_342;
@ -54,7 +54,7 @@ CLASS net/minecraft/class_4717 net/minecraft/client/gui/screen/CommandSuggestor
ARG 2 firstCharacterIndex
METHOD method_23929 showUsages (Lnet/minecraft/class_124;)V
ARG 1 formatting
METHOD method_23930 getLastPlayerNameStart (Ljava/lang/String;)I
METHOD method_23930 getStartOfCurrentWord (Ljava/lang/String;)I
ARG 0 input
METHOD method_23931 provideRenderText (Ljava/lang/String;I)Lnet/minecraft/class_5481;
ARG 1 original