-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 23w40a util * Fix typo
- Loading branch information
Showing
6 changed files
with
191 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,110 @@ | ||
CLASS net/minecraft/class_8806 net/minecraft/util/dynamic/RuntimeOps | ||
COMMENT A dynamic ops that "serializes" data to a Java runtime representation. | ||
COMMENT This is most useful when combined with another ops. | ||
COMMENT | ||
COMMENT <p>The objects must be one of: numbers, booleans, string, {@link Map}, {@link List}, | ||
COMMENT {@link it.unimi.dsi.fastutil.bytes.ByteList}, {@link | ||
COMMENT it.unimi.dsi.fastutil.bytes.IntList}, or {@link it.unimi.dsi.fastutil.bytes.LongList}. | ||
COMMENT Arrays are not supported. | ||
COMMENT | ||
COMMENT @see Codecs#BASIC_OBJECT | ||
FIELD field_46239 INSTANCE Lnet/minecraft/class_8806; | ||
METHOD convertTo (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Ljava/lang/Object; | ||
ARG 1 ops | ||
ARG 2 object | ||
METHOD createBoolean (Z)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createByte (B)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createByteList (Ljava/nio/ByteBuffer;)Ljava/lang/Object; | ||
ARG 1 buf | ||
METHOD createDouble (D)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createFloat (F)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createInt (I)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createIntList (Ljava/util/stream/IntStream;)Ljava/lang/Object; | ||
ARG 1 stream | ||
METHOD createList (Ljava/util/stream/Stream;)Ljava/lang/Object; | ||
ARG 1 stream | ||
METHOD createLong (J)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createLongList (Ljava/util/stream/LongStream;)Ljava/lang/Object; | ||
ARG 1 stream | ||
METHOD createMap (Ljava/util/Map;)Ljava/lang/Object; | ||
ARG 1 map | ||
METHOD createMap (Ljava/util/stream/Stream;)Ljava/lang/Object; | ||
ARG 1 entries | ||
METHOD createNumeric (Ljava/lang/Number;)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createShort (S)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD createString (Ljava/lang/String;)Ljava/lang/Object; | ||
ARG 1 value | ||
METHOD getBooleanValue (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 object | ||
METHOD getByteBuffer (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 byteList | ||
METHOD getIntStream (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 intList | ||
METHOD getList (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 list | ||
METHOD getLongStream (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 longList | ||
METHOD getMap (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
METHOD getMapEntries (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
METHOD getMapValues (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
METHOD getNumberValue (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 object | ||
METHOD getStream (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 list | ||
METHOD getStringValue (Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 object | ||
METHOD mergeToList (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 list | ||
ARG 2 value | ||
METHOD mergeToList (Ljava/lang/Object;Ljava/util/List;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 list | ||
ARG 2 values | ||
METHOD mergeToMap (Ljava/lang/Object;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
ARG 2 map2 | ||
METHOD mergeToMap (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
ARG 2 key | ||
ARG 3 value | ||
METHOD mergeToMap (Ljava/lang/Object;Ljava/util/Map;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 map | ||
ARG 2 map2 | ||
METHOD method_53922 (Lcom/google/common/collect/ImmutableMap$Builder;Lcom/mojang/datafixers/util/Pair;)V | ||
ARG 1 pair | ||
METHOD method_53923 toMap (Lcom/mojang/serialization/MapLike;)Ljava/util/Map; | ||
ARG 0 mapLike | ||
METHOD method_53925 (Ljava/util/Map$Entry;)Lcom/mojang/datafixers/util/Pair; | ||
ARG 0 entry | ||
METHOD method_53926 streamEntries (Ljava/util/Map;)Ljava/util/stream/Stream; | ||
ARG 0 map | ||
METHOD method_53932 (Ljava/lang/Object;)Ljava/lang/Object; | ||
ARG 0 value | ||
METHOD remove (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; | ||
ARG 1 map | ||
ARG 2 key | ||
CLASS 1 | ||
METHOD get (Ljava/lang/Object;)Ljava/lang/Object; | ||
ARG 1 key | ||
METHOD get (Ljava/lang/String;)Ljava/lang/Object; | ||
ARG 1 key | ||
CLASS class_8807 MapBuilder | ||
METHOD <init> (Lcom/mojang/serialization/DynamicOps;)V | ||
ARG 1 ops | ||
METHOD append (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | ||
ARG 1 key | ||
ARG 2 value | ||
ARG 3 builder | ||
METHOD build (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; | ||
ARG 1 builder | ||
ARG 2 map |