1.20-pre2 stuff (#3579)

* 1.20-pre2 stuff

* Update mappings/net/minecraft/screen/AnvilScreenHandler.mapping

* Update mappings/net/minecraft/recipe/Ingredient.mapping
This commit is contained in:
apple502j 2023-05-18 20:15:52 +09:00 committed by GitHub
parent e02a7e6446
commit 48a697cbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 100 additions and 2 deletions

View File

@ -8,3 +8,4 @@ CLASS net/minecraft/class_471 net/minecraft/client/gui/screen/ingame/AnvilScreen
ARG 2 inventory
ARG 3 title
METHOD method_2403 onRenamed (Ljava/lang/String;)V
ARG 1 name

View File

@ -8,6 +8,7 @@ CLASS net/minecraft/class_426 net/minecraft/client/gui/screen/option/LanguageOpt
ARG 3 languageManager
METHOD method_19820 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_52184 onDone ()V
CLASS class_4195 LanguageSelectionListWidget
METHOD <init> (Lnet/minecraft/class_426;Lnet/minecraft/class_310;)V
ARG 2 client
@ -17,6 +18,7 @@ CLASS net/minecraft/class_426 net/minecraft/client/gui/screen/option/LanguageOpt
CLASS class_4194 LanguageEntry
FIELD field_18743 languageDefinition Lnet/minecraft/class_2561;
FIELD field_41846 languageCode Ljava/lang/String;
FIELD field_44921 clickTime J
METHOD <init> (Lnet/minecraft/class_426$class_4195;Ljava/lang/String;Lnet/minecraft/class_1077;)V
ARG 2 languageCode
ARG 3 languageDefinition

View File

@ -21,3 +21,4 @@ CLASS net/minecraft/class_4394 net/minecraft/client/realms/gui/screen/RealmsGene
ARG 1 button
METHOD method_39981 getErrorMessages (Lnet/minecraft/class_4355;)Lnet/minecraft/class_4394$class_8570;
ARG 0 exception
CLASS class_8570 ErrorMessages

View File

@ -22,3 +22,5 @@ CLASS net/minecraft/class_5597 net/minecraft/client/render/entity/model/SinglePa
ARG 1 animation
ARG 2 limbAngle
ARG 3 limbDistance
METHOD method_52185 animate (Lnet/minecraft/class_7184;)V
ARG 1 animation

View File

@ -168,6 +168,7 @@ CLASS net/minecraft/class_3675 net/minecraft/client/util/InputUtil
FIELD field_1673 name Ljava/lang/String;
FIELD field_1674 map Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_24197 textTranslator Ljava/util/function/BiFunction;
FIELD field_44919 UNKNOWN_TRANSLATION_KEY Ljava/lang/String;
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V
ARG 3 name
ARG 4 textTranslator

View File

@ -44,3 +44,6 @@ CLASS net/minecraft/class_333 net/minecraft/client/util/NarratorManager
COMMENT
COMMENT @see NarratorMode#shouldNarrateSystem
ARG 1 text
METHOD method_52183 checkNarratorLibrary (Z)V
ARG 1 narratorEnabled
CLASS class_8571 InactiveNarratorLibraryException

View File

@ -7,9 +7,14 @@ CLASS net/minecraft/class_2203 net/minecraft/command/argument/NbtPathArgumentTyp
FIELD field_41706 TOO_DEEP_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD field_41708 EXPECTED_LIST_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_41709 INVALID_INDEX_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_44920 SINGLE_QUOTE C
FIELD field_9898 EXAMPLES Ljava/util/Collection;
FIELD field_9899 NOTHING_FOUND_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_9900 INVALID_PATH_NODE_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD method_47969 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 index
METHOD method_47970 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 nbt
METHOD method_9352 readCompoundChildNode (Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/class_2203$class_2210;
ARG 0 reader
ARG 1 name

View File

@ -382,3 +382,7 @@ CLASS net/minecraft/class_2446 net/minecraft/data/server/recipe/RecipeProvider
ARG 2 resource
METHOD method_51890 offerDyeableRecipes (Ljava/util/function/Consumer;Ljava/util/List;Ljava/util/List;)V
ARG 0 exporter
ARG 1 dyes
ARG 2 dyeables
METHOD method_52186 (Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;)Z
ARG 1 dyeable

View File

@ -989,6 +989,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
ARG 1 pos
METHOD method_51850 setPortalCooldown (I)V
ARG 1 portalCooldown
METHOD method_52172 isOnRail ()Z
METHOD method_5621 getMountedHeightOffset ()D
METHOD method_5622 onBlockCollision (Lnet/minecraft/class_2680;)V
COMMENT Called when this entity's collision box intersects {@code state}.

View File

@ -2,12 +2,15 @@ CLASS net/minecraft/class_5754 net/minecraft/entity/ai/brain/task/TemptTask
FIELD field_28316 speed Ljava/util/function/Function;
FIELD field_30115 TEMPTATION_COOLDOWN_TICKS I
FIELD field_30116 DEFAULT_STOP_DISTANCE D
FIELD field_44704 stopDistance Ljava/util/function/Function;
FIELD field_44704 stopDistanceGetter Ljava/util/function/Function;
METHOD <init> (Ljava/util/function/Function;)V
ARG 1 speed
METHOD <init> (Ljava/util/function/Function;Ljava/util/function/Function;)V
ARG 1 speed
ARG 2 stopDistanceGetter
METHOD method_33196 getSpeed (Lnet/minecraft/class_1314;)F
ARG 1 entity
METHOD method_33198 getTemptingPlayer (Lnet/minecraft/class_1314;)Ljava/util/Optional;
ARG 1 entity
METHOD method_52173 (Lnet/minecraft/class_1309;)Ljava/lang/Double;
ARG 0 entity

View File

@ -65,3 +65,4 @@ CLASS net/minecraft/class_2881 net/minecraft/entity/boss/dragon/EnderDragonFight
METHOD method_12538 tick ()V
METHOD method_51855 setSkipChunksLoadedCheck ()V
METHOD method_51856 clearGatewaysList ()V
METHOD method_52179 getDragonUuid ()Ljava/util/UUID;

View File

@ -21,6 +21,8 @@ CLASS net/minecraft/class_8155 net/minecraft/entity/passive/SnifferBrain
ARG 0 sniffer
METHOD method_51161 stopDiggingOrSniffing (Lnet/minecraft/class_8153;)Lnet/minecraft/class_8153;
ARG 0 sniffer
METHOD method_52174 (Lnet/minecraft/class_1309;)Ljava/lang/Double;
ARG 0 sniffer
CLASS class_8156 DiggingTask
METHOD <init> (II)V
ARG 1 minRunTime

View File

@ -1,6 +1,7 @@
CLASS net/minecraft/class_1688 net/minecraft/entity/vehicle/AbstractMinecartEntity
FIELD field_24464 DISMOUNT_FREE_Y_SPACES_NEEDED Lcom/google/common/collect/ImmutableMap;
FIELD field_30694 VELOCITY_SLOWDOWN_MULTIPLIER F
FIELD field_44917 onRail Z
FIELD field_7655 clientYVelocity D
FIELD field_7656 clientZVelocity D
FIELD field_7657 clientPitch D

View File

@ -12,6 +12,8 @@ CLASS net/minecraft/class_1856 net/minecraft/recipe/Ingredient
METHOD method_35226 empty ()Lnet/minecraft/class_1856;
METHOD method_47374 (Lnet/minecraft/class_1856$class_1859;)Ljava/util/stream/Stream;
ARG 0 entry
METHOD method_52177 fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/class_1856;
ARG 0 json
METHOD method_8086 fromPacket (Lnet/minecraft/class_2540;)Lnet/minecraft/class_1856;
ARG 0 buf
METHOD method_8088 write (Lnet/minecraft/class_2540;)V
@ -28,12 +30,14 @@ CLASS net/minecraft/class_1856 net/minecraft/recipe/Ingredient
ARG 0 stacks
METHOD method_8102 fromJson (Lcom/google/gson/JsonElement;Z)Lnet/minecraft/class_1856;
ARG 0 json
ARG 1 allowAir
METHOD method_8103 isEmpty ()Z
METHOD method_8105 getMatchingStacks ()[Lnet/minecraft/class_1799;
METHOD method_8106 fromTag (Lnet/minecraft/class_6862;)Lnet/minecraft/class_1856;
ARG 0 tag
METHOD method_8107 entryFromJson (Lcom/google/gson/JsonObject;Z)Lnet/minecraft/class_1856$class_1859;
ARG 0 json
ARG 1 allowAir
METHOD test (Ljava/lang/Object;)Z
ARG 1 stack
CLASS class_1857 StackEntry

View File

@ -20,4 +20,7 @@ CLASS net/minecraft/class_1706 net/minecraft/screen/AnvilScreenHandler
ARG 0 stack
METHOD method_48351 (Lnet/minecraft/class_1799;)Z
ARG 0 stack
METHOD method_52176 sanitize (Ljava/lang/String;)Ljava/lang/String;
ARG 0 name
METHOD method_7625 setNewItemName (Ljava/lang/String;)Z
ARG 1 newItemName

View File

@ -8,6 +8,7 @@ CLASS net/minecraft/class_3164 net/minecraft/server/command/DataCommand
FIELD field_13797 MODIFY_EXPECTED_OBJECT_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_13798 TARGET_OBJECT_TYPES Ljava/util/List;
FIELD field_41747 MODIFY_EXPECTED_VALUE_EXCEPTION Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
FIELD field_44916 MODIFY_INVALID_SUBSTRING_EXCEPTION Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
METHOD method_13885 executeRemove (Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2203$class_2209;)I
ARG 0 source
ARG 1 object
@ -65,6 +66,8 @@ CLASS net/minecraft/class_3164 net/minecraft/server/command/DataCommand
METHOD method_13907 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 nbt
METHOD method_13908 executeGet (Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;)I
ARG 0 source
ARG 1 object
METHOD method_13909 (Lnet/minecraft/class_3164$class_3167;Lcom/mojang/brigadier/context/CommandContext;)I
ARG 1 context
METHOD method_13911 (Lnet/minecraft/class_3164$class_3167;Lnet/minecraft/class_3164$class_3167;Lnet/minecraft/class_3164$class_3165;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
@ -121,6 +124,7 @@ CLASS net/minecraft/class_3164 net/minecraft/server/command/DataCommand
ARG 0 value
METHOD method_48095 mapValues (Ljava/util/List;Lnet/minecraft/class_3164$class_8569;)Ljava/util/List;
ARG 0 list
ARG 1 processor
METHOD method_48096 asString (Lnet/minecraft/class_2520;)Ljava/lang/String;
ARG 0 nbt
METHOD method_48097 (Lnet/minecraft/class_3164$class_3167;Lnet/minecraft/class_3164$class_3165;Lnet/minecraft/class_3164$class_3167;Lcom/mojang/brigadier/context/CommandContext;)I
@ -150,6 +154,13 @@ CLASS net/minecraft/class_3164 net/minecraft/server/command/DataCommand
ARG 0 string
ARG 1 startIndex
ARG 2 endIndex
METHOD method_52164 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message;
ARG 0 startIndex
ARG 1 endIndex
METHOD method_52165 substringInternal (Ljava/lang/String;II)Ljava/lang/String;
ARG 0 string
ARG 1 startIndex
ARG 2 endIndex
CLASS class_3165 ModifyOperation
METHOD modify (Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_2487;Lnet/minecraft/class_2203$class_2209;Ljava/util/List;)I
ARG 1 context
@ -165,3 +176,6 @@ CLASS net/minecraft/class_3164 net/minecraft/server/command/DataCommand
METHOD method_13925 addArgumentsToBuilder (Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
ARG 1 argument
ARG 2 argumentAdder
CLASS class_8569 Processor
METHOD process (Ljava/lang/String;)Ljava/lang/String;
ARG 1 string

View File

@ -120,6 +120,7 @@ CLASS net/minecraft/class_2168 net/minecraft/server/command/ServerCommandSource
ARG 2 result
METHOD method_9225 getWorld ()Lnet/minecraft/class_3218;
METHOD method_9226 sendFeedback (Ljava/util/function/Supplier;Z)V
ARG 1 feedbackSupplier
ARG 2 broadcastToOps
METHOD method_9227 withWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_2168;
ARG 1 world

View File

@ -53,6 +53,7 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
ARG 5 z
ARG 7 yaw
ARG 8 pitch
ARG 9 flags
METHOD method_14363 requestTeleport (DDDFF)V
ARG 1 x
ARG 3 y
@ -83,6 +84,11 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
ARG 2 recipe
METHOD method_19507 isHost ()Z
METHOD method_20630 isPlayerNotCollidingWithBlocks (Lnet/minecraft/class_4538;Lnet/minecraft/class_238;DDD)Z
ARG 1 world
ARG 2 box
ARG 3 newX
ARG 5 newY
ARG 7 newZ
METHOD method_27913 canPlace (Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)Z
COMMENT Checks if a player can place a block or fluid from a bucket.
COMMENT

View File

@ -35,7 +35,9 @@ CLASS net/minecraft/class_3193 net/minecraft/server/world/ChunkHolder
ARG 4 lightingProvider
ARG 5 levelUpdateListener
ARG 6 playersWatchingChunkProvider
METHOD method_13992 sendPacketToPlayersWatching (Ljava/util/List;Lnet/minecraft/class_2596;)V
METHOD method_13992 sendPacketToPlayers (Ljava/util/List;Lnet/minecraft/class_2596;)V
ARG 1 players
ARG 2 packet
METHOD method_13993 getChunkAt (Lnet/minecraft/class_2806;Lnet/minecraft/class_3898;)Ljava/util/concurrent/CompletableFuture;
ARG 1 targetStatus
ARG 2 chunkStorage
@ -52,6 +54,9 @@ CLASS net/minecraft/class_3193 net/minecraft/server/world/ChunkHolder
METHOD method_14007 tick (Lnet/minecraft/class_3898;Ljava/util/concurrent/Executor;)V
ARG 1 chunkStorage
METHOD method_14009 sendBlockEntityUpdatePacket (Ljava/util/List;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
ARG 1 players
ARG 2 world
ARG 3 pos
METHOD method_14010 getCurrentChunk ()Lnet/minecraft/class_2791;
METHOD method_14012 markForLightUpdate (Lnet/minecraft/class_1944;I)V
ARG 1 lightType
@ -79,6 +84,13 @@ CLASS net/minecraft/class_3193 net/minecraft/server/world/ChunkHolder
METHOD method_23270 getCurrentStatus ()Lnet/minecraft/class_2806;
METHOD method_23271 getLevelType ()Lnet/minecraft/class_3194;
METHOD method_30311 tryUpdateBlockEntityAt (Ljava/util/List;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 players
ARG 2 world
ARG 3 pos
ARG 4 state
METHOD method_30312 (Ljava/util/List;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 3 pos
ARG 4 state
METHOD method_39967 combineSavingFuture (Ljava/lang/String;Ljava/util/concurrent/CompletableFuture;)V
ARG 1 thenDesc
ARG 2 then

View File

@ -47,6 +47,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
ARG 9 seed
ARG 11 spawners
ARG 12 shouldTickTime
ARG 13 randomSequencesState
METHOD method_14166 spawnParticles (Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z
COMMENT Spawns a particle visible to {@code viewer}, if the viewer is near the provided
COMMENT coordinates.
@ -380,6 +381,9 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
ARG 1 id
METHOD method_51837 setEnderDragonFight (Lnet/minecraft/class_2881;)V
ARG 1 enderDragonFight
METHOD method_52168 getRandomSequences ()Lnet/minecraft/class_8565;
METHOD method_52169 (JLnet/minecraft/class_2487;)Lnet/minecraft/class_8565;
ARG 2 nbt
METHOD method_8448 updateSleepingPlayers ()V
METHOD method_8487 locateStructure (Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
COMMENT Tries to find the closest structure of a given type near a given block.

View File

@ -298,6 +298,16 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
METHOD method_51822 decodeFixedLengthArray (Ljava/util/stream/LongStream;I)Lcom/mojang/serialization/DataResult;
ARG 0 stream
ARG 1 length
METHOD method_51893 isWhitespace (I)Z
COMMENT {@return whether {@code c} represents a space character}
COMMENT
COMMENT @see Character#isWhitespace
COMMENT @see Character#isSpaceChar
ARG 0 c
METHOD method_51894 isBlank (Ljava/lang/String;)Z
COMMENT {@return whether {@code string} is {@code null}, empty, or composed entirely
COMMENT of {@linkplain #isWhitespace} spaces}
ARG 0 string
METHOD method_645 previous (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
COMMENT {@return the item preceding {@code object} in {@code iterable}}
COMMENT

View File

@ -2,6 +2,7 @@ CLASS net/minecraft/class_6673 net/minecraft/util/math/random/RandomSeed
FIELD field_35133 GOLDEN_RATIO_64 J
FIELD field_35134 SILVER_RATIO_64 J
FIELD field_35135 SEED_UNIQUIFIER Ljava/util/concurrent/atomic/AtomicLong;
FIELD field_44918 MD5_HASH Lcom/google/common/hash/HashFunction;
METHOD method_39001 getSeed ()J
COMMENT {@return the seed calculated using {@link SEED_UNIQUIFIER} and the system time}
METHOD method_39002 mixStafford13 (J)J
@ -10,4 +11,11 @@ CLASS net/minecraft/class_6673 net/minecraft/util/math/random/RandomSeed
ARG 0 seed
METHOD method_39004 (J)J
ARG 0 seedUniquifier
METHOD method_52180 createXoroshiroSeed (Ljava/lang/String;)Lnet/minecraft/class_6673$class_6674;
ARG 0 seed
CLASS class_6674 XoroshiroSeed
METHOD method_52181 split (JJ)Lnet/minecraft/class_6673$class_6674;
ARG 1 seedLo
ARG 3 seedHi
METHOD method_52182 split (Lnet/minecraft/class_6673$class_6674;)Lnet/minecraft/class_6673$class_6674;
ARG 1 seed

View File

@ -7,3 +7,9 @@ CLASS net/minecraft/class_8564 net/minecraft/util/math/random/RandomSequence
METHOD <init> (Lnet/minecraft/class_6677;)V
ARG 1 source
METHOD method_51839 getSource ()Lnet/minecraft/class_5819;
METHOD method_51840 (Lnet/minecraft/class_8564;)Lnet/minecraft/class_6677;
ARG 0 sequence
METHOD method_51841 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_52171 createSeed (Lnet/minecraft/class_2960;)Lnet/minecraft/class_6673$class_6674;
ARG 0 id

View File

@ -12,6 +12,8 @@ CLASS net/minecraft/class_6677 net/minecraft/util/math/random/Xoroshiro128PlusPl
METHOD <init> (JJ)V
ARG 1 seedLo
ARG 3 seedHi
METHOD <init> (Lnet/minecraft/class_6673$class_6674;)V
ARG 1 seed
METHOD <init> (Lnet/minecraft/class_6676;)V
ARG 1 implementation
METHOD method_39008 next (I)J

View File

@ -14,6 +14,7 @@ CLASS net/minecraft/class_1918 net/minecraft/world/CommandBlockExecutor
FIELD field_9167 lastExecution J
FIELD field_9168 command Ljava/lang/String;
FIELD field_9169 DATE_FORMAT Ljava/text/SimpleDateFormat;
METHOD method_52175 isEditable ()Z
METHOD method_8286 setCommand (Ljava/lang/String;)V
ARG 1 command
METHOD method_8287 setTrackOutput (Z)V