1.19.1-pre5 misc stuff (#3247)

This commit is contained in:
apple502j 2022-07-21 01:53:33 +09:00 committed by GitHub
parent 835ed46274
commit 4fe40ee455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 1 deletions

View File

@ -132,6 +132,9 @@ CLASS net/minecraft/class_5225 net/minecraft/client/font/TextHandler
ARG 1 text
ARG 2 maxWidth
ARG 3 style
METHOD method_44918 getStyleMatchResults (Lnet/minecraft/class_5481;Ljava/util/function/Predicate;)Ljava/util/List;
ARG 1 text
ARG 2 stylePredicate
CLASS 1
FIELD field_24219 collector Lnet/minecraft/class_5222;
CLASS class_5226 LineWrappingCollector
@ -199,3 +202,15 @@ CLASS net/minecraft/class_5225 net/minecraft/client/font/TextHandler
METHOD <init> (Ljava/lang/String;Lnet/minecraft/class_2583;)V
ARG 1 literal
ARG 2 style
CLASS class_7623 MatchResult
CLASS class_7624 StylePredicateVisitor
FIELD field_39840 stylePredicate Ljava/util/function/Predicate;
FIELD field_39841 totalWidth F
FIELD field_39842 results Lcom/google/common/collect/ImmutableList$Builder;
FIELD field_39843 styleStartWidth F
FIELD field_39844 lastTestResult Z
METHOD <init> (Lnet/minecraft/class_5225;Ljava/util/function/Predicate;)V
ARG 2 stylePredicate
METHOD method_44919 getResults ()Ljava/util/List;
METHOD method_44920 onStyleMatchStart ()V
METHOD method_44921 onStyleMatchEnd ()V

View File

@ -28,7 +28,8 @@ CLASS net/minecraft/class_4225 net/minecraft/client/sound/SoundEngine
METHOD method_38722 getCurrentDeviceName ()Ljava/lang/String;
METHOD method_38723 updateDeviceSpecifier ()Z
METHOD method_38724 isDeviceUnavailable ()Z
METHOD method_41711 tryEnableDirectionalAudio (Z)V
METHOD method_41711 setDirectionalAudio (Z)V
ARG 1 enabled
CLASS class_4105 RunMode
CLASS class_4226 SourceSetImpl
FIELD field_18903 maxSourceCount I

View File

@ -8,3 +8,11 @@ CLASS net/minecraft/class_7485 net/minecraft/command/argument/EnumArgumentType
METHOD listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
ARG 1 context
ARG 2 builder
METHOD method_44092 (Ljava/lang/Object;)Ljava/lang/String;
ARG 0 enum_
METHOD method_44094 (Ljava/lang/Object;)Ljava/lang/String;
ARG 0 enum_
METHOD method_44095 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 value
METHOD parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/Object;
ARG 1 reader

View File

@ -11,6 +11,7 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
FIELD field_34892 MAX_BG_THREADS_PROPERTY Ljava/lang/String;
FIELD field_34893 missingBreakpointHandler Ljava/util/function/Consumer;
FIELD field_37250 TICKER Lcom/google/common/base/Ticker;
FIELD field_39824 DATE_TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
METHOD method_17974 ifPresentOrElse (Ljava/util/Optional;Ljava/util/function/Consumer;Ljava/lang/Runnable;)Ljava/util/Optional;
ARG 0 optional
ARG 1 presentAction
@ -257,6 +258,7 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
ARG 1 mapCreator
COMMENT a function that, when given the size of {@code values},
COMMENT returns a map for storing the indices of the values
METHOD method_44893 getFormattedCurrentTime ()Ljava/lang/String;
METHOD method_645 previous (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
ARG 0 iterable
ARG 1 object

View File

@ -7,6 +7,7 @@ CLASS net/minecraft/class_128 net/minecraft/util/crash/CrashReport
FIELD field_1091 LOGGER Lorg/slf4j/Logger;
FIELD field_1092 systemDetailsSection Lnet/minecraft/class_6396;
FIELD field_1093 cause Ljava/lang/Throwable;
FIELD field_39880 DATE_TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
METHOD <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
ARG 1 message
ARG 2 cause