mirror of https://github.com/FabricMC/yarn.git
util 21w13a stuff (#2273)
* util stuff * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
This commit is contained in:
parent
5aabebac46
commit
f0f341e715
|
@ -9,3 +9,7 @@ CLASS net/minecraft/class_3544 net/minecraft/util/ChatUtil
|
|||
ARG 0 text
|
||||
METHOD method_34238 countLines (Ljava/lang/String;)I
|
||||
ARG 0 text
|
||||
METHOD method_34963 truncate (Ljava/lang/String;IZ)Ljava/lang/String;
|
||||
ARG 0 text
|
||||
ARG 1 maxLength
|
||||
ARG 2 addEllipsis
|
||||
|
|
|
@ -22,6 +22,7 @@ CLASS net/minecraft/class_124 net/minecraft/util/Formatting
|
|||
ARG 5 modifier
|
||||
ARG 6 colorIndex
|
||||
ARG 7 colorValue
|
||||
METHOD method_36145 getCode ()C
|
||||
METHOD method_531 (Lnet/minecraft/class_124;)Ljava/lang/String;
|
||||
ARG 0 f
|
||||
METHOD method_532 getColorValue ()Ljava/lang/Integer;
|
||||
|
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_2477 net/minecraft/util/Language
|
|||
FIELD field_11489 TOKEN_PATTERN Ljava/util/regex/Pattern;
|
||||
FIELD field_11490 LOGGER Lorg/apache/logging/log4j/Logger;
|
||||
FIELD field_25307 GSON Lcom/google/gson/Gson;
|
||||
FIELD field_33187 DEFAULT_LANGUAGE Ljava/lang/String;
|
||||
METHOD method_10517 getInstance ()Lnet/minecraft/class_2477;
|
||||
METHOD method_29425 load (Ljava/io/InputStream;Ljava/util/function/BiConsumer;)V
|
||||
ARG 0 inputStream
|
||||
|
|
|
@ -10,3 +10,5 @@ CLASS net/minecraft/class_2361 net/minecraft/util/collection/IdList
|
|||
METHOD method_10204 size ()I
|
||||
METHOD method_10205 add (Ljava/lang/Object;)V
|
||||
ARG 1 value
|
||||
METHOD method_35841 containsKey (I)Z
|
||||
ARG 1 index
|
||||
|
|
|
@ -26,3 +26,5 @@ CLASS net/minecraft/class_3513 net/minecraft/util/collection/Int2ObjectBiMap
|
|||
METHOD method_15232 findIndex (Ljava/lang/Object;I)I
|
||||
ARG 1 value
|
||||
ARG 2 id
|
||||
METHOD method_34903 containsKey (I)Z
|
||||
ARG 1 index
|
||||
|
|
|
@ -22,3 +22,4 @@ CLASS net/minecraft/class_3508 net/minecraft/util/collection/PackedIntegerArray
|
|||
METHOD method_15215 getSize ()I
|
||||
METHOD method_21739 forEach (Ljava/util/function/IntConsumer;)V
|
||||
ARG 1 consumer
|
||||
METHOD method_34896 getElementBits ()I
|
||||
|
|
|
@ -25,6 +25,7 @@ CLASS net/minecraft/class_4706 net/minecraft/util/collection/SortedArraySet
|
|||
ARG 1 index
|
||||
METHOD method_23871 get (I)Ljava/lang/Object;
|
||||
ARG 1 index
|
||||
METHOD method_34962 last ()Ljava/lang/Object;
|
||||
CLASS class_4707 SetIterator
|
||||
FIELD field_21566 nextIndex I
|
||||
FIELD field_21567 lastIndex I
|
||||
|
|
|
@ -34,5 +34,6 @@ CLASS net/minecraft/class_3509 net/minecraft/util/collection/TypeFilterableList
|
|||
COMMENT the specialized type, must extend {@link #elementType}
|
||||
METHOD method_15217 (Ljava/lang/Class;)Ljava/util/List;
|
||||
ARG 1 typeClass
|
||||
METHOD method_34897 copy ()Ljava/util/List;
|
||||
METHOD remove (Ljava/lang/Object;)Z
|
||||
ARG 1 o
|
||||
|
|
Loading…
Reference in New Issue