diff --git a/mappings/net/minecraft/block/AbstractBlock.mapping b/mappings/net/minecraft/block/AbstractBlock.mapping index 64c76da7e3..98346c29e3 100644 --- a/mappings/net/minecraft/block/AbstractBlock.mapping +++ b/mappings/net/minecraft/block/AbstractBlock.mapping @@ -222,7 +222,7 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock FIELD field_23154 dynamicBounds Z COMMENT Whether this block's collision shape can change. COMMENT - COMMENT @see #hasDynamicBounds + COMMENT @see Block#hasDynamicBounds FIELD field_23155 settings Lnet/minecraft/class_4970$class_2251; COMMENT The {@link AbstractBlock.Settings} to apply to this block. FIELD field_23156 lootTableId Lnet/minecraft/class_2960; diff --git a/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping b/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping index c5fe186d9b..35ed84539a 100644 --- a/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping +++ b/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping @@ -59,7 +59,7 @@ CLASS net/minecraft/class_5620 net/minecraft/block/cauldron/CauldronBehavior FIELD field_27781 CLEAN_BANNER Lnet/minecraft/class_5620; COMMENT A behavior that cleans banners with patterns. FIELD field_27782 CLEAN_DYEABLE_ITEM Lnet/minecraft/class_5620; - COMMENT A behavior that cleans {@linkplain net.minecraft.item.DyeableItem dyeable items}. + COMMENT A behavior that cleans dyeable items. FIELD field_28011 POWDER_SNOW_CAULDRON_BEHAVIOR Lnet/minecraft/class_5620$class_8821; COMMENT The cauldron behaviors for powder snow cauldrons. COMMENT diff --git a/mappings/net/minecraft/client/gui/EditBox.mapping b/mappings/net/minecraft/client/gui/EditBox.mapping index bc56450f22..09f3d05048 100644 --- a/mappings/net/minecraft/client/gui/EditBox.mapping +++ b/mappings/net/minecraft/client/gui/EditBox.mapping @@ -84,7 +84,7 @@ CLASS net/minecraft/class_7530 net/minecraft/client/gui/EditBox METHOD method_44420 replaceSelection (Ljava/lang/String;)V COMMENT Replaces the current selection with {@code string}. If there is no COMMENT selection, this inserts the string at the cursor position. This removes - COMMENT {@linkplain net.minecraft.SharedConstants#isValidChar invalid characters} and truncates + COMMENT {@linkplain net.minecraft.util.StringHelper#isValidChar invalid characters} and truncates COMMENT the passed string if necessary. ARG 1 string METHOD method_44421 getText ()Ljava/lang/String; diff --git a/mappings/net/minecraft/client/toast/SystemToast.mapping b/mappings/net/minecraft/client/toast/SystemToast.mapping index 3060338f7a..f8db0e13a7 100644 --- a/mappings/net/minecraft/client/toast/SystemToast.mapping +++ b/mappings/net/minecraft/client/toast/SystemToast.mapping @@ -54,6 +54,14 @@ CLASS net/minecraft/class_370 net/minecraft/client/toast/SystemToast ARG 0 manager ARG 1 type METHOD method_55508 hide ()V + METHOD method_57723 addLowDiskSpace (Lnet/minecraft/class_310;)V + ARG 0 client + METHOD method_57724 addChunkLoadFailure (Lnet/minecraft/class_310;Lnet/minecraft/class_1923;)V + ARG 0 client + ARG 1 pos + METHOD method_57725 addChunkSaveFailure (Lnet/minecraft/class_310;Lnet/minecraft/class_1923;)V + ARG 0 client + ARG 1 pos CLASS class_9037 Type FIELD field_47583 NARRATOR_TOGGLE Lnet/minecraft/class_370$class_9037; FIELD field_47584 WORLD_BACKUP Lnet/minecraft/class_370$class_9037; @@ -63,5 +71,8 @@ CLASS net/minecraft/class_370 net/minecraft/client/toast/SystemToast FIELD field_47588 PERIODIC_NOTIFICATION Lnet/minecraft/class_370$class_9037; FIELD field_47589 UNSECURE_SERVER_WARNING Lnet/minecraft/class_370$class_9037; FIELD field_47590 displayDuration J + FIELD field_49487 LOW_DISK_SPACE Lnet/minecraft/class_370$class_9037; + FIELD field_49488 CHUNK_LOAD_FAILURE Lnet/minecraft/class_370$class_9037; + FIELD field_49489 CHUNK_SAVE_FAILURE Lnet/minecraft/class_370$class_9037; METHOD (J)V ARG 1 displayDuration diff --git a/mappings/net/minecraft/enchantment/EnchantmentHelper.mapping b/mappings/net/minecraft/enchantment/EnchantmentHelper.mapping index e5f1c69e31..c46a91cc59 100644 --- a/mappings/net/minecraft/enchantment/EnchantmentHelper.mapping +++ b/mappings/net/minecraft/enchantment/EnchantmentHelper.mapping @@ -20,7 +20,7 @@ CLASS net/minecraft/class_1890 net/minecraft/enchantment/EnchantmentHelper ARG 0 entity METHOD method_49189 hasSilkTouch (Lnet/minecraft/class_1799;)Z ARG 0 stack - METHOD method_57529 hasEnchamtments (Lnet/minecraft/class_1799;)Z + METHOD method_57529 hasEnchantments (Lnet/minecraft/class_1799;)Z ARG 0 stack METHOD method_57530 set (Lnet/minecraft/class_1799;Lnet/minecraft/class_9304;)V ARG 0 stack diff --git a/mappings/net/minecraft/entity/ai/pathing/PathNodeTypeCache.mapping b/mappings/net/minecraft/entity/ai/pathing/PathNodeTypeCache.mapping new file mode 100644 index 0000000000..e7963ff73c --- /dev/null +++ b/mappings/net/minecraft/entity/ai/pathing/PathNodeTypeCache.mapping @@ -0,0 +1,18 @@ +CLASS net/minecraft/class_9315 net/minecraft/entity/ai/pathing/PathNodeTypeCache + FIELD field_49419 positions [J + FIELD field_49420 cache [Lnet/minecraft/class_7; + METHOD method_57616 get (IJ)Lnet/minecraft/class_7; + ARG 1 index + ARG 2 pos + METHOD method_57617 hash (J)I + ARG 0 pos + METHOD method_57618 add (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7; + ARG 1 world + ARG 2 pos + METHOD method_57619 compute (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;IJ)Lnet/minecraft/class_7; + ARG 1 world + ARG 2 pos + ARG 3 index + ARG 4 longPos + METHOD method_57620 invalidate (Lnet/minecraft/class_2338;)V + ARG 1 pos diff --git a/mappings/net/minecraft/inventory/Inventories.mapping b/mappings/net/minecraft/inventory/Inventories.mapping index e80bdaf037..1cc8158231 100644 --- a/mappings/net/minecraft/inventory/Inventories.mapping +++ b/mappings/net/minecraft/inventory/Inventories.mapping @@ -21,11 +21,11 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories COMMENT Writes the inventory to {@code nbt}. This method will always write to the NBT, COMMENT even if {@code stacks} only contains empty stacks. COMMENT - COMMENT

See {@link #writeNbt(NbtCompound, DefaultedList, boolean)} for the serialization - COMMENT format. + COMMENT

See {@link #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)} + COMMENT for the serialization format. COMMENT - COMMENT @see #readNbt(NbtCompound, DefaultedList) - COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean) + COMMENT @see #readNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup) + COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup) COMMENT @return the passed {@code nbt} ARG 0 nbt ARG 1 stacks @@ -42,7 +42,7 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories COMMENT then {@code nbt} will not be modified at all. Otherwise, the {@code Items} entry COMMENT will always be present. COMMENT - COMMENT @see #readNbt(NbtCompound, DefaultedList) + COMMENT @see #readNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup) COMMENT @return the passed {@code nbt} ARG 0 nbt ARG 1 stacks @@ -62,11 +62,11 @@ CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories METHOD method_5429 readNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;Lnet/minecraft/class_7225$class_7874;)V COMMENT Reads {@code nbt} and sets the elements of {@code stacks} accordingly. COMMENT - COMMENT

See {@link #writeNbt(NbtCompound, DefaultedList, boolean)} for the serialization - COMMENT format. If the slot is out of bounds, it is ignored. + COMMENT

See {@link #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)} + COMMENT for the serialization format. If the slot is out of bounds, it is ignored. COMMENT - COMMENT @see #writeNbt(NbtCompound, DefaultedList) - COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean) + COMMENT @see #writeNbt(NbtCompound, DefaultedList, RegistryWrapper.WrapperLookup) + COMMENT @see #writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup) ARG 0 nbt ARG 1 stacks ARG 2 registries diff --git a/mappings/net/minecraft/inventory/SimpleInventory.mapping b/mappings/net/minecraft/inventory/SimpleInventory.mapping index 64a9319f01..6dfb738c30 100644 --- a/mappings/net/minecraft/inventory/SimpleInventory.mapping +++ b/mappings/net/minecraft/inventory/SimpleInventory.mapping @@ -71,9 +71,9 @@ CLASS net/minecraft/class_1277 net/minecraft/inventory/SimpleInventory ARG 1 list ARG 2 registries METHOD method_7660 toNbtList (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2499; - COMMENT {@return an NBT list of non-empty {@linkplain ItemStack#writeNbt item stacks}} + COMMENT {@return an NBT list of non-empty {@linkplain ItemStack#encode(RegistryWrapper.WrapperLookup) item stacks}} COMMENT - COMMENT

Unlike {@link Inventories#writeNbt(NbtCompound, DefaultedList, boolean)}, + COMMENT

Unlike {@link Inventories#writeNbt(NbtCompound, DefaultedList, boolean, RegistryWrapper.WrapperLookup)}, COMMENT this does not serialize the slots. COMMENT COMMENT @see #readNbtList diff --git a/mappings/net/minecraft/item/ItemStack.mapping b/mappings/net/minecraft/item/ItemStack.mapping index 33cae4cea0..c79ca7ca85 100644 --- a/mappings/net/minecraft/item/ItemStack.mapping +++ b/mappings/net/minecraft/item/ItemStack.mapping @@ -1,6 +1,6 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT Represents a stack of items. This is a data container that holds the item count - COMMENT and the stack's NBT. Logics for items (such as the action for using it) are delegated + COMMENT and the stack's components. Logics for items (such as the action for using it) are delegated COMMENT to the stack's logic container, {@link Item}. Instances can be created using one of COMMENT the constructors and are usually stored in an {@link net.minecraft.inventory.Inventory}. COMMENT @@ -19,7 +19,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT COMMENT

NBT serialization

COMMENT - COMMENT An Item Stack can be serialized with {@link #writeNbt(NbtCompound)}, and deserialized with {@link #fromNbt(NbtCompound)}. + COMMENT An Item Stack can be serialized with {@link #encode(RegistryWrapper.WrapperLookup)}, and deserialized with {@link #fromNbt(RegistryWrapper.WrapperLookup, NbtCompound)}. COMMENT COMMENT
COMMENT @@ -31,52 +31,10 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT - COMMENT - COMMENT - COMMENT
{@code id}{@link net.minecraft.nbt.NbtString}The identifier of the item.
{@code Count}{@link net.minecraft.nbt.NbtByte}The count of items in the stack.{@code count}{@link net.minecraft.nbt.NbtInt}The count of items in the stack.
{@code tag}{@link NbtCompound}The item stack's custom NBT.
- COMMENT
- COMMENT - COMMENT

Custom NBT

- COMMENT - COMMENT The item stack's custom NBT may be used to store extra information, - COMMENT like the block entity data for shulker boxes, - COMMENT or the damage of a damageable item, etc. - COMMENT

- COMMENT Various methods are available to interact with the custom NBT, some methods might refer to a "sub NBT", - COMMENT a sub NBT is a child element of the custom NBT. - COMMENT - COMMENT

- COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT + COMMENT COMMENT COMMENT
Custom NBT operations
CategoryMethodSummary
Custom NBT{@link #hasNbt()}Returns whether the item stack has custom NBT.
Custom NBT{@link #getNbt()}Returns the custom NBT of the item stack.
Custom NBT{@link #getOrCreateNbt()}Returns the custom NBT of the item stack, or creates one if absent, mutating the stack.
Custom NBT{@link #setNbt(NbtCompound)}Sets the custom NBT of the item stack.
Sub Custom NBT{@link #getSubNbt(String)}Returns the sub NBT compound at the specified key.
Sub Custom NBT{@link #getOrCreateSubNbt(String)}Returns the sub NBT compound at the specified key, or create one if absent, mutating the stack.
Sub Custom NBT{@link #removeSubNbt(String)}Removes the sub NBT element at the specified key.
Sub Custom NBT{@link #setSubNbt(String, NbtElement)}Sets the sub NBT element at the specified key.{@code components}{@link ComponentChanges}The item stack's components.
COMMENT
@@ -248,6 +206,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack ARG 2 attributeModifierConsumer METHOD method_57355 hashCode (Lnet/minecraft/class_1799;)I ARG 0 stack + METHOD method_57356 (Lnet/minecraft/class_1887;ILnet/minecraft/class_9304$class_9305;)V + ARG 2 builder METHOD method_57357 canPlaceOn (Lnet/minecraft/class_2694;)Z ARG 1 pos METHOD method_57358 encode (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520; @@ -340,9 +300,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack METHOD method_7919 getDamage ()I COMMENT {@return the damage (lost durability) of the item stack} COMMENT - COMMENT

The damage is stored in NBT under {@value #DAMAGE_KEY} key. Note that this method - COMMENT does not check if the item is {@linkplain #isDamageable damageable}, unlike {@link - COMMENT #isDamaged}. + COMMENT

Note that this method does not check if the item is {@linkplain #isDamageable + COMMENT damageable}, unlike {@link #isDamaged}. COMMENT COMMENT @see #isDamageable COMMENT @see #isDamaged @@ -381,9 +340,10 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT {@return whether the item stack has any enchantments} COMMENT COMMENT

This will return {@code false} for enchanted books, as the book itself is not - COMMENT enchanted and therefore does not store enchantments under {@value #ENCHANTMENTS_KEY} key. + COMMENT enchanted and therefore does not store enchantments under {@link + COMMENT net.minecraft.component.DataComponentTypes#ENCHANTMENTS}. COMMENT - COMMENT @see #getEnchantments + COMMENT @see net.minecraft.enchantment.EnchantmentHelper#getEnchantments METHOD method_7945 getFrame ()Lnet/minecraft/class_1533; COMMENT {@return the item frame that holds the stack, or {@code null} if inapplicable} COMMENT @@ -451,13 +411,12 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack METHOD method_7963 isDamageable ()Z COMMENT {@return whether the item can be damaged (lose durability)} COMMENT - COMMENT

Items with {@linkplain Item#getMaxDamage 0 max damage} or item stacks with {@value - COMMENT #UNBREAKABLE_KEY} NBT set to {@code 1b} cannot be damaged. + COMMENT

Items with {@linkplain Item#getMaxDamage 0 max damage} or item stacks with {@link + COMMENT net.minecraft.component.DataComponentTypes#UNBREAKABLE} component cannot be damaged. COMMENT COMMENT @see Item#getMaxDamage COMMENT @see #isDamaged COMMENT @see #getDamage - COMMENT @see #isUnbreakable METHOD method_7964 getName ()Lnet/minecraft/class_2561; COMMENT {@return the custom name of the stack if it exists, or the item's name} METHOD method_7965 getBobbingAnimationTime ()I @@ -531,7 +490,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT Enchants this item with the given enchantment and level. COMMENT COMMENT

This should not be used with enchanted books, as the book itself is not - COMMENT enchanted and therefore does not store enchantments under {@value #ENCHANTMENTS_KEY} key. + COMMENT enchanted and therefore does not store enchantments under {@link + COMMENT net.minecraft.component.DataComponentTypes#ENCHANTMENTS}. COMMENT COMMENT @see net.minecraft.enchantment.EnchantmentHelper ARG 1 enchantment diff --git a/mappings/net/minecraft/network/PacketByteBuf.mapping b/mappings/net/minecraft/network/PacketByteBuf.mapping index 5fdb921f82..19fc2fe2b7 100644 --- a/mappings/net/minecraft/network/PacketByteBuf.mapping +++ b/mappings/net/minecraft/network/PacketByteBuf.mapping @@ -72,15 +72,6 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf COMMENT {@link UUID}{@link #readUuid()}{@link #writeUuid(UUID)} COMMENT COMMENT - COMMENT {@index GameProfile}{@link #readGameProfile()}{@link #writeGameProfile(GameProfile)} - COMMENT - COMMENT - COMMENT {@index Property}{@link #readProperty()}{@link #writeProperty(Property)} - COMMENT - COMMENT - COMMENT {@index PropertyMap}{@link #readPropertyMap()}{@link #writePropertyMap(PropertyMap)} - COMMENT - COMMENT COMMENT {@link NbtCompound}{@link #readNbt()}{@link #writeNbt(NbtCompound)} COMMENT COMMENT @@ -116,9 +107,6 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf COMMENT COMMENT Nullable value{@link #readNullable(PacketByteBuf.PacketReader)}{@link #writeNullable(Object, PacketByteBuf.PacketWriter)} COMMENT - COMMENT - COMMENT {@index Either}{@link #readEither(PacketByteBuf.PacketReader, PacketByteBuf.PacketReader)}{@link #writeEither(Either, PacketByteBuf.PacketWriter, PacketByteBuf.PacketWriter)} - COMMENT COMMENT COMMENT COMMENT

All {@code read} and {@code write} methods throw {@link diff --git a/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping b/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping index 1315e4f2e2..f125514e91 100644 --- a/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping +++ b/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping @@ -6,7 +6,7 @@ CLASS net/minecraft/class_2797 net/minecraft/network/packet/c2s/play/ChatMessage COMMENT 256 characters, it will reject the message and disconnect the client. COMMENT COMMENT

If the message contains an invalid character (see {@link - COMMENT net.minecraft.SharedConstants#isValidChar}) or if the server + COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server COMMENT receives the messages in improper order. the server will COMMENT reject the message and disconnect the client. COMMENT diff --git a/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping b/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping index ac9b9d95e1..fec7d1556e 100644 --- a/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping +++ b/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping @@ -6,7 +6,7 @@ CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExec COMMENT it will reject the message and disconnect the client. COMMENT COMMENT

If the command contains an invalid character (see {@link - COMMENT net.minecraft.SharedConstants#isValidChar}) or if the server receives + COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server receives COMMENT the commands in improper order, the server will reject the command and disconnect COMMENT the client. COMMENT diff --git a/mappings/net/minecraft/registry/RegistryOps.mapping b/mappings/net/minecraft/registry/RegistryOps.mapping index fc805f9d24..a97361398b 100644 --- a/mappings/net/minecraft/registry/RegistryOps.mapping +++ b/mappings/net/minecraft/registry/RegistryOps.mapping @@ -34,6 +34,8 @@ CLASS net/minecraft/class_6903 net/minecraft/registry/RegistryOps METHOD method_56622 withRegistry (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_7225$class_7874;)Lcom/mojang/serialization/Dynamic; ARG 0 dynamic ARG 1 registryLookup + METHOD method_57110 withDelegate (Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903; + ARG 1 delegate CLASS 1 FIELD field_40854 registryRefToInfo Ljava/util/Map; CLASS 2 diff --git a/mappings/net/minecraft/server/command/PlaySoundCommand.mapping b/mappings/net/minecraft/server/command/PlaySoundCommand.mapping index c8064f8439..22eab30242 100644 --- a/mappings/net/minecraft/server/command/PlaySoundCommand.mapping +++ b/mappings/net/minecraft/server/command/PlaySoundCommand.mapping @@ -25,3 +25,9 @@ CLASS net/minecraft/class_3091 net/minecraft/server/command/PlaySoundCommand ARG 7 minVolume METHOD method_13505 (Lnet/minecraft/class_3419;Lcom/mojang/brigadier/context/CommandContext;)I ARG 1 context + METHOD method_57111 toList (Lnet/minecraft/class_3222;)Ljava/util/Collection; + ARG 0 player + METHOD method_57112 (Lcom/mojang/brigadier/context/CommandContext;)I + ARG 0 context + METHOD method_57113 (Lnet/minecraft/class_3419;Lcom/mojang/brigadier/context/CommandContext;)I + ARG 1 context diff --git a/mappings/net/minecraft/server/command/ResetChunksCommand.mapping b/mappings/net/minecraft/server/command/ResetChunksCommand.mapping index 868ba6fe06..7788d212ba 100644 --- a/mappings/net/minecraft/server/command/ResetChunksCommand.mapping +++ b/mappings/net/minecraft/server/command/ResetChunksCommand.mapping @@ -16,3 +16,7 @@ CLASS net/minecraft/class_6608 net/minecraft/server/command/ResetChunksCommand ARG 0 context METHOD method_39500 (Lcom/mojang/brigadier/context/CommandContext;)I ARG 0 context + METHOD method_57114 (Lnet/minecraft/class_2806;Lnet/minecraft/class_2791;)Lcom/mojang/datafixers/util/Unit; + ARG 1 chunk + METHOD method_57115 (Lnet/minecraft/class_2806;Lnet/minecraft/class_9312;Lnet/minecraft/class_3846;Ljava/util/List;Lcom/mojang/datafixers/util/Unit;)Ljava/util/concurrent/CompletionStage; + ARG 4 unit diff --git a/mappings/net/minecraft/server/command/TestCommand.mapping b/mappings/net/minecraft/server/command/TestCommand.mapping index 80f4a9035e..35e0d9b220 100644 --- a/mappings/net/minecraft/server/command/TestCommand.mapping +++ b/mappings/net/minecraft/server/command/TestCommand.mapping @@ -136,6 +136,10 @@ CLASS net/minecraft/class_4527 net/minecraft/server/command/TestCommand ARG 1 pos METHOD method_57106 (Lnet/minecraft/class_1297;)V ARG 0 entity + METHOD method_57963 (Lcom/mojang/brigadier/context/CommandContext;)I + ARG 0 context + METHOD method_57964 (Lcom/mojang/brigadier/context/CommandContext;)I + ARG 0 context CLASS class_4528 Listener FIELD comp_2216 world Lnet/minecraft/class_3218; FIELD comp_2217 tests Lnet/minecraft/class_4524; diff --git a/mappings/net/minecraft/server/command/TestFinder.mapping b/mappings/net/minecraft/server/command/TestFinder.mapping index 00b7ca740e..339ed7e57a 100644 --- a/mappings/net/minecraft/server/command/TestFinder.mapping +++ b/mappings/net/minecraft/server/command/TestFinder.mapping @@ -14,8 +14,14 @@ CLASS net/minecraft/class_9123 net/minecraft/server/command/TestFinder METHOD method_56306 createRunner ()Ljava/lang/Object; CLASS class_9124 Runners FIELD field_48513 runnerFactory Ljava/util/function/Function; + FIELD field_49663 testFunctionsSupplierMapper Ljava/util/function/UnaryOperator; + FIELD field_49664 structurePosSupplierMapper Ljava/util/function/UnaryOperator; METHOD (Ljava/util/function/Function;)V ARG 1 runnerFactory + METHOD (Ljava/util/function/Function;Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V + ARG 1 runnerFactory + ARG 2 testFunctionsSupplierMapper + ARG 3 structurePosSupplierMapper METHOD method_56309 nearest (Lcom/mojang/brigadier/context/CommandContext;)Ljava/lang/Object; ARG 1 context METHOD method_56310 surface (Lcom/mojang/brigadier/context/CommandContext;I)Ljava/lang/Object; @@ -40,3 +46,17 @@ CLASS net/minecraft/class_9123 net/minecraft/server/command/TestFinder ARG 1 context METHOD method_56324 failed (Lcom/mojang/brigadier/context/CommandContext;)Ljava/lang/Object; ARG 1 context + METHOD method_57965 repeat (I)Lnet/minecraft/class_9123$class_9124; + ARG 1 count + METHOD method_57966 (ILjava/util/function/Supplier;)Ljava/util/function/Supplier; + ARG 1 supplier + METHOD method_57967 createRunner (Lnet/minecraft/class_2168;Lnet/minecraft/class_9125;Lnet/minecraft/class_9119;)Ljava/lang/Object; + ARG 1 source + ARG 2 testFunctionFinder + ARG 3 structureBlockFinder + METHOD method_57968 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; + ARG 0 structurePosSupplier + METHOD method_57970 repeating (I)Ljava/util/function/UnaryOperator; + ARG 0 count + METHOD method_57971 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; + ARG 0 testFunctionsSupplier diff --git a/mappings/net/minecraft/server/integrated/IntegratedServer.mapping b/mappings/net/minecraft/server/integrated/IntegratedServer.mapping index d0630a78ff..d8cfccf891 100644 --- a/mappings/net/minecraft/server/integrated/IntegratedServer.mapping +++ b/mappings/net/minecraft/server/integrated/IntegratedServer.mapping @@ -22,3 +22,4 @@ CLASS net/minecraft/class_1132 net/minecraft/server/integrated/IntegratedServer ARG 1 keyPair METHOD method_4817 setLocalPlayerUuid (Ljava/util/UUID;)V ARG 1 localPlayerUuid + METHOD method_57823 checkLowDiskSpaceWarning ()V diff --git a/mappings/net/minecraft/server/integrated/IntegratedServerLoader.mapping b/mappings/net/minecraft/server/integrated/IntegratedServerLoader.mapping index 14716bf5ec..fcbfe80b23 100644 --- a/mappings/net/minecraft/server/integrated/IntegratedServerLoader.mapping +++ b/mappings/net/minecraft/server/integrated/IntegratedServerLoader.mapping @@ -60,6 +60,57 @@ CLASS net/minecraft/class_7196 net/minecraft/server/integrated/IntegratedServerL METHOD method_55510 applyWorldPack (Lnet/minecraft/class_1066;Lnet/minecraft/class_32$class_5143;)Ljava/util/concurrent/CompletableFuture; ARG 1 loader ARG 2 session + METHOD method_57773 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;)V + ARG 1 session + ARG 2 saveLoader + ARG 3 dataPackManager + METHOD method_57774 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Lnet/minecraft/class_1066;Ljava/lang/Runnable;Z)V + ARG 6 confirmed + METHOD method_57775 checkBackupAndStart (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V + ARG 1 session + ARG 2 saveLoader + ARG 3 dataPackManager + ARG 4 onCancel + METHOD method_57776 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_1066;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V + ARG 1 session + ARG 2 saveLoader + ARG 3 resourcePackLoader + ARG 4 dataPackManager + ARG 5 onCancel + METHOD method_57777 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_1066;Lnet/minecraft/class_3283;Ljava/lang/Runnable;Ljava/lang/Boolean;)V + ARG 6 successful + METHOD method_57779 (Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;ZZ)V + ARG 4 backup + ARG 5 eraseCache + METHOD method_57780 start (Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V + ARG 1 session + ARG 2 levelProperties + ARG 3 safeMode + ARG 4 onCancel + METHOD method_57781 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_34;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V + ARG 1 session + ARG 2 summary + ARG 3 levelProperties + ARG 4 onCancel + METHOD method_57782 start (Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V + ARG 1 session + ARG 2 onCancel + METHOD method_57783 (Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;Z)V + ARG 3 confirmed + METHOD method_57784 start (Ljava/lang/String;Ljava/lang/Runnable;)V + ARG 1 name + ARG 2 onCancel + METHOD method_57785 (Ljava/lang/Throwable;)Ljava/lang/Void; + ARG 1 throwable + METHOD method_57786 (Ljava/lang/Void;)Ljava/lang/Boolean; + ARG 0 v + METHOD method_57787 start (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V + ARG 1 session + ARG 2 saveLoader + ARG 3 dataPackManager + ARG 4 onCancel + METHOD method_57789 (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletionStage; + ARG 1 throwable CLASS class_7750 CurrentSettings FIELD comp_1031 levelInfo Lnet/minecraft/class_1940; FIELD comp_1033 existingDimensionRegistry Lnet/minecraft/class_2378; diff --git a/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping b/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping index ee331933e1..1328fe3d32 100644 --- a/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping +++ b/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping @@ -98,6 +98,7 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan METHOD method_31277 filterText (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture; ARG 1 text METHOD method_31278 updateBookContent (Ljava/util/List;I)V + ARG 1 pages ARG 2 slotId METHOD method_31279 filterTexts (Ljava/util/List;)Ljava/util/concurrent/CompletableFuture; ARG 1 texts @@ -110,6 +111,8 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan ARG 1 filtered METHOD method_31285 (Lnet/minecraft/class_2877;Ljava/util/List;)V ARG 2 texts + METHOD method_33799 (Lnet/minecraft/class_5837;)Lnet/minecraft/class_9262; + ARG 1 page METHOD method_34882 clampHorizontal (D)D ARG 0 d METHOD method_34883 clampVertical (D)D @@ -169,6 +172,8 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan METHOD method_52415 cleanUp ()V METHOD method_56922 getMaxAllowedFloatingTicks (Lnet/minecraft/class_1297;)I ARG 1 vehicle + METHOD method_57142 toRawFilteredPair (Lnet/minecraft/class_5837;)Lnet/minecraft/class_9262; + ARG 1 message CLASS 1 METHOD method_33897 processInteract (Lnet/minecraft/class_1268;Lnet/minecraft/class_3244$class_5860;)V ARG 1 hand diff --git a/mappings/net/minecraft/server/world/ChunkHolder.mapping b/mappings/net/minecraft/server/world/ChunkHolder.mapping index 08093aeb65..046395ace3 100644 --- a/mappings/net/minecraft/server/world/ChunkHolder.mapping +++ b/mappings/net/minecraft/server/world/ChunkHolder.mapping @@ -107,6 +107,9 @@ CLASS net/minecraft/class_3193 net/minecraft/server/world/ChunkHolder ARG 1 postProcessingFuture METHOD method_53681 getPostProcessingFuture ()Ljava/util/concurrent/CompletableFuture; METHOD method_53682 getPostProcessedChunk ()Lnet/minecraft/class_2818; + METHOD method_57116 (Lnet/minecraft/class_2791;Lnet/minecraft/class_9259;)Lnet/minecraft/class_2791; + ARG 0 chunk + ARG 1 otherChunk CLASS class_3896 LevelUpdateListener METHOD method_17209 updateLevel (Lnet/minecraft/class_1923;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V ARG 1 pos diff --git a/mappings/net/minecraft/server/world/ChunkTicketManager.mapping b/mappings/net/minecraft/server/world/ChunkTicketManager.mapping index 4908fc5a03..d980aac4e2 100644 --- a/mappings/net/minecraft/server/world/ChunkTicketManager.mapping +++ b/mappings/net/minecraft/server/world/ChunkTicketManager.mapping @@ -75,6 +75,8 @@ CLASS net/minecraft/class_3204 net/minecraft/server/world/ChunkTicketManager ARG 2 pos ARG 3 radius ARG 4 argument + METHOD method_17642 (JLnet/minecraft/class_9259;)V + ARG 3 optionalChunk METHOD method_17645 removeTicket (JLnet/minecraft/class_3228;)V ARG 1 pos ARG 3 ticket diff --git a/mappings/net/minecraft/server/world/OptionalChunk.mapping b/mappings/net/minecraft/server/world/OptionalChunk.mapping new file mode 100644 index 0000000000..a094c3ef8a --- /dev/null +++ b/mappings/net/minecraft/server/world/OptionalChunk.mapping @@ -0,0 +1,22 @@ +CLASS net/minecraft/class_9259 net/minecraft/server/world/OptionalChunk + METHOD method_57122 isPresent ()Z + METHOD method_57123 orElse (Lnet/minecraft/class_9259;Ljava/lang/Object;)Ljava/lang/Object; + ARG 0 optionalChunk + ARG 1 other + METHOD method_57124 of (Ljava/lang/Object;)Lnet/minecraft/class_9259; + ARG 0 chunk + METHOD method_57125 of (Ljava/lang/String;)Lnet/minecraft/class_9259; + ARG 0 error + METHOD method_57126 ifPresent (Ljava/util/function/Consumer;)Lnet/minecraft/class_9259; + ARG 1 callback + METHOD method_57127 map (Ljava/util/function/Function;)Lnet/minecraft/class_9259; + ARG 1 mapper + METHOD method_57128 of (Ljava/util/function/Supplier;)Lnet/minecraft/class_9259; + ARG 0 error + METHOD method_57129 getError ()Ljava/lang/String; + METHOD method_57130 orElse (Ljava/lang/Object;)Ljava/lang/Object; + ARG 1 other + METHOD method_57132 orElseThrow (Ljava/util/function/Supplier;)Ljava/lang/Object; + ARG 1 exceptionSupplier + CLASS class_9260 LoadFailure + CLASS class_9261 ActualChunk diff --git a/mappings/net/minecraft/server/world/ServerWorld.mapping b/mappings/net/minecraft/server/world/ServerWorld.mapping index bd3ca19026..c9bdf35229 100644 --- a/mappings/net/minecraft/server/world/ServerWorld.mapping +++ b/mappings/net/minecraft/server/world/ServerWorld.mapping @@ -36,6 +36,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld FIELD field_41751 THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017; FIELD field_44857 randomSequences Lnet/minecraft/class_8565; FIELD field_48271 spawnChunkRadius I + FIELD field_49172 pathNodeTypeCache Lnet/minecraft/class_9315; METHOD (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;Lnet/minecraft/class_3949;ZJLjava/util/List;ZLnet/minecraft/class_8565;)V ARG 1 server ARG 2 workerExecutor @@ -389,6 +390,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld METHOD method_52168 getRandomSequences ()Lnet/minecraft/class_8565; METHOD method_52370 tickIceAndSnow (Lnet/minecraft/class_2338;)V ARG 1 pos + METHOD method_57133 getPathNodeTypeCache ()Lnet/minecraft/class_9315; 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. diff --git a/mappings/net/minecraft/world/level/storage/LevelStorage.mapping b/mappings/net/minecraft/world/level/storage/LevelStorage.mapping index 4762110ded..46dd53fae1 100644 --- a/mappings/net/minecraft/world/level/storage/LevelStorage.mapping +++ b/mappings/net/minecraft/world/level/storage/LevelStorage.mapping @@ -134,7 +134,7 @@ CLASS net/minecraft/class_32 net/minecraft/world/level/storage/LevelStorage METHOD method_54547 levelDatExists ()Z METHOD method_54548 tryRestoreBackup ()Z METHOD method_57628 getUsableSpace ()J - METHOD method_57629 shouldShowUsableSpaceWarning ()Z + METHOD method_57629 shouldShowLowDiskSpaceWarning ()Z CLASS 1 METHOD postVisitDirectory (Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult; ARG 1 path