diff --git a/mappings/net/minecraft/client/MinecraftClient.mapping b/mappings/net/minecraft/client/MinecraftClient.mapping index 4bcbf872c2..762d546908 100644 --- a/mappings/net/minecraft/client/MinecraftClient.mapping +++ b/mappings/net/minecraft/client/MinecraftClient.mapping @@ -182,6 +182,9 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient METHOD method_1573 forcesUnicodeFont ()Z METHOD method_1574 tick ()V METHOD method_1576 getServer ()Lnet/minecraft/class_1132; + COMMENT Gets this client's own integrated server. + COMMENT + COMMENT

The integrated server is only present when a local single player world is open. METHOD method_1577 getTutorialManager ()Lnet/minecraft/class_1156; METHOD method_1582 getSkinProvider ()Lnet/minecraft/class_1071; METHOD method_1583 doItemUse ()V @@ -228,6 +231,9 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient METHOD method_24287 getWindowTitle ()Ljava/lang/String; METHOD method_24288 updateWindowTitle ()V METHOD method_24289 isModded ()Z + COMMENT Checks if this client is modded. + COMMENT + COMMENT

This checks the client's brand and if the MinecraftClient's class is still signed. METHOD method_24458 startMonitor (ZLnet/minecraft/class_4758;)V ARG 1 active ARG 2 monitor diff --git a/mappings/net/minecraft/client/network/ClientPlayNetworkHandler.mapping b/mappings/net/minecraft/client/network/ClientPlayNetworkHandler.mapping index 72e6ff255d..e7194cb6ec 100644 --- a/mappings/net/minecraft/client/network/ClientPlayNetworkHandler.mapping +++ b/mappings/net/minecraft/client/network/ClientPlayNetworkHandler.mapping @@ -47,7 +47,9 @@ CLASS net/minecraft/class_634 net/minecraft/client/network/ClientPlayNetworkHand METHOD method_2879 getProfile ()Lcom/mojang/authlib/GameProfile; METHOD method_2880 getPlayerList ()Ljava/util/Collection; METHOD method_2883 sendPacket (Lnet/minecraft/class_2596;)V + COMMENT Sends a packet to the server. ARG 1 packet + COMMENT the packet to send METHOD method_2885 feedbackAfterDownload (Ljava/util/concurrent/CompletableFuture;)V ARG 1 downloadFuture METHOD method_2886 getCommandDispatcher ()Lcom/mojang/brigadier/CommandDispatcher; diff --git a/mappings/net/minecraft/client/network/ClientPlayerEntity.mapping b/mappings/net/minecraft/client/network/ClientPlayerEntity.mapping index 0c0b948be6..7f6fb13784 100644 --- a/mappings/net/minecraft/client/network/ClientPlayerEntity.mapping +++ b/mappings/net/minecraft/client/network/ClientPlayerEntity.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_746 net/minecraft/client/network/ClientPlayerEntity + COMMENT Represents the client's own player entity. FIELD field_20663 showsDeathScreen Z FIELD field_3911 lastNauseaStrength F FIELD field_3912 clientPermissionLevel I diff --git a/mappings/net/minecraft/client/network/OtherClientPlayerEntity.mapping b/mappings/net/minecraft/client/network/OtherClientPlayerEntity.mapping index ff269048cf..89ef0e8d3a 100644 --- a/mappings/net/minecraft/client/network/OtherClientPlayerEntity.mapping +++ b/mappings/net/minecraft/client/network/OtherClientPlayerEntity.mapping @@ -1 +1,2 @@ CLASS net/minecraft/class_745 net/minecraft/client/network/OtherClientPlayerEntity + COMMENT Represents a player entity that is present on the client but is not the client's own player. diff --git a/mappings/net/minecraft/client/network/PlayerListEntry.mapping b/mappings/net/minecraft/client/network/PlayerListEntry.mapping index 71dcb42ea8..60a0f051b6 100644 --- a/mappings/net/minecraft/client/network/PlayerListEntry.mapping +++ b/mappings/net/minecraft/client/network/PlayerListEntry.mapping @@ -17,6 +17,9 @@ CLASS net/minecraft/class_640 net/minecraft/client/network/PlayerListEntry METHOD method_2963 setGameMode (Lnet/minecraft/class_1934;)V METHOD method_2966 getProfile ()Lcom/mojang/authlib/GameProfile; METHOD method_2967 hasSkinTexture ()Z + COMMENT Checks if the player represented by this entry has a custom skin. + COMMENT + COMMENT

If the player has the default skin, this will return false. METHOD method_2968 getSkinTexture ()Lnet/minecraft/class_2960; METHOD method_2969 loadTextures ()V METHOD method_2970 setLatency (I)V diff --git a/mappings/net/minecraft/command/arguments/ArgumentTypes.mapping b/mappings/net/minecraft/command/arguments/ArgumentTypes.mapping index 5e5e22a134..c55490e4c0 100644 --- a/mappings/net/minecraft/command/arguments/ArgumentTypes.mapping +++ b/mappings/net/minecraft/command/arguments/ArgumentTypes.mapping @@ -7,6 +7,9 @@ CLASS net/minecraft/class_2316 net/minecraft/command/arguments/ArgumentTypes METHOD method_10015 register ()V METHOD method_10016 toJson (Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject; METHOD method_10017 register (Ljava/lang/String;Ljava/lang/Class;Lnet/minecraft/class_2314;)V + COMMENT Registers an argument type's serializer. + ARG 0 id + COMMENT the id of the argument type METHOD method_10018 byId (Lnet/minecraft/class_2960;)Lnet/minecraft/class_2316$class_2317; METHOD method_10019 toPacket (Lnet/minecraft/class_2540;Lcom/mojang/brigadier/arguments/ArgumentType;)V METHOD method_10020 toJson (Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V diff --git a/mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping b/mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping index 7aac25c769..95ed917297 100644 --- a/mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping +++ b/mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping @@ -1,4 +1,6 @@ CLASS net/minecraft/class_4526 net/minecraft/command/arguments/TestClassArgumentType + FIELD field_20580 EXAMPLES Ljava/util/Collection; METHOD method_22262 getTestClass (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String; ARG 0 context ARG 1 name + METHOD method_22370 testClass ()Lnet/minecraft/class_4526; diff --git a/mappings/net/minecraft/command/arguments/serialize/ArgumentSerializer.mapping b/mappings/net/minecraft/command/arguments/serialize/ArgumentSerializer.mapping index c1e0da9f3c..2cc86252fe 100644 --- a/mappings/net/minecraft/command/arguments/serialize/ArgumentSerializer.mapping +++ b/mappings/net/minecraft/command/arguments/serialize/ArgumentSerializer.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_2314 net/minecraft/command/arguments/serialize/ArgumentSerializer + COMMENT Serializes an argument type to be sent to the client. METHOD method_10005 fromPacket (Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/ArgumentType; METHOD method_10006 toJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V METHOD method_10007 toPacket (Lcom/mojang/brigadier/arguments/ArgumentType;Lnet/minecraft/class_2540;)V diff --git a/mappings/net/minecraft/command/suggestion/SuggestionProviders.mapping b/mappings/net/minecraft/command/suggestion/SuggestionProviders.mapping index 183463708e..732e2b3156 100644 --- a/mappings/net/minecraft/command/suggestion/SuggestionProviders.mapping +++ b/mappings/net/minecraft/command/suggestion/SuggestionProviders.mapping @@ -5,11 +5,12 @@ CLASS net/minecraft/class_2321 net/minecraft/command/suggestion/SuggestionProvid FIELD field_10933 ASK_SERVER Lcom/mojang/brigadier/suggestion/SuggestionProvider; FIELD field_10934 AVAILABLE_SOUNDS Lcom/mojang/brigadier/suggestion/SuggestionProvider; FIELD field_10935 SUMMONABLE_ENTITIES Lcom/mojang/brigadier/suggestion/SuggestionProvider; + FIELD field_22245 ALL_BIOMES Lcom/mojang/brigadier/suggestion/SuggestionProvider; METHOD method_10022 register (Lnet/minecraft/class_2960;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; ARG 0 name ARG 1 provider METHOD method_10024 byId (Lnet/minecraft/class_2960;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; - ARG 0 name + ARG 0 id METHOD method_10026 getLocalProvider (Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; ARG 0 provider METHOD method_10027 computeName (Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/class_2960; diff --git a/mappings/net/minecraft/datafixer/TypeReferences.mapping b/mappings/net/minecraft/datafixer/TypeReferences.mapping index 0ae1d1b106..0bf5af7a64 100644 --- a/mappings/net/minecraft/datafixer/TypeReferences.mapping +++ b/mappings/net/minecraft/datafixer/TypeReferences.mapping @@ -1,26 +1,46 @@ CLASS net/minecraft/class_1208 net/minecraft/datafixer/TypeReferences + COMMENT Represents all the type references Minecraft's datafixer can fix. FIELD field_19224 POI_CHUNK Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to the point of interest data in a chunk. FIELD field_23067 CHUNK_GENERATOR_SETTINGS Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to chunk generator settings. FIELD field_5710 LEVEL Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5711 RECIPE Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5712 ITEM_STACK Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to an item stack. FIELD field_5713 ITEM_NAME Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to an item's identifier. FIELD field_5714 TEAM Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5715 PLAYER Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a player. FIELD field_5716 STRUCTURE Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5717 OPTIONS Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to client game options. FIELD field_5718 UNTAGGED_SPAWNER Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5719 ENTITY_NAME Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to an entity's identifier. FIELD field_5720 BLOCK_STATE Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a block state. FIELD field_5721 OBJECTIVE Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5722 HOTBAR Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to the saved creative hotbars. + COMMENT + COMMENT

This type reference is only used on the client. FIELD field_5723 ENTITY_TREE Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to an entity tree. + COMMENT + COMMENT

An entity tree contains the passengers of an entity and their passengers. FIELD field_5724 STRUCTURE_FEATURE Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5725 ADVANCEMENTS Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5726 CHUNK Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a chunk. FIELD field_5727 BLOCK_ENTITY Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a block entity. FIELD field_5728 BIOME Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a biome. FIELD field_5729 ENTITY Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a type of entity. FIELD field_5730 STATS Lcom/mojang/datafixers/DSL$TypeReference; FIELD field_5731 BLOCK_NAME Lcom/mojang/datafixers/DSL$TypeReference; + COMMENT A type reference which refers to a block's identifier. FIELD field_5732 SAVED_DATA Lcom/mojang/datafixers/DSL$TypeReference; diff --git a/mappings/net/minecraft/entity/Entity.mapping b/mappings/net/minecraft/entity/Entity.mapping index cfea1bc67c..26dc9b0a5a 100644 --- a/mappings/net/minecraft/entity/Entity.mapping +++ b/mappings/net/minecraft/entity/Entity.mapping @@ -108,6 +108,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity ARG 5 z METHOD method_18276 isInSneakingPose ()Z METHOD method_18375 detach ()V + COMMENT Removes all the passengers and removes this entity from any vehicles it is riding. METHOD method_18376 getPose ()Lnet/minecraft/class_4050; METHOD method_18377 getDimensions (Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048; ARG 1 pose @@ -313,6 +314,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity METHOD method_5666 attemptSprintingParticles ()V METHOD method_5667 getUuid ()Ljava/util/UUID; METHOD method_5668 getRootVehicle ()Lnet/minecraft/class_1297; + COMMENT Gets the lowest entity this entity is riding. METHOD method_5669 getAir ()I METHOD method_5670 baseTick ()V METHOD method_5671 getCommandSource ()Lnet/minecraft/class_2168; @@ -340,8 +342,11 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity METHOD method_5687 allowsPermissionLevel (I)Z ARG 1 permissionLevel METHOD method_5688 interact (Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Z + COMMENT Called when a player interacts with this entity. ARG 1 player + COMMENT the player ARG 2 hand + COMMENT the hand the player used to interact with this entity METHOD method_5691 getPermissionLevel ()I METHOD method_5692 updateMovementInFluid (Lnet/minecraft/class_3494;D)Z ARG 1 tag @@ -529,7 +534,9 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity METHOD method_5793 removePassenger (Lnet/minecraft/class_1297;)V ARG 1 passenger METHOD method_5794 isConnectedThroughVehicle (Lnet/minecraft/class_1297;)Z + COMMENT Checks if this entity and another entity share the same root vehicle. ARG 1 entity + COMMENT the other entity METHOD method_5795 getFlag (I)Z ARG 1 index METHOD method_5796 setSwimming (Z)V diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index 54818afc2c..469e33b687 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity + COMMENT Represents an entity which has a health value and can receive damage. FIELD field_18072 SLEEPING_DIMENSIONS Lnet/minecraft/class_4048; FIELD field_18073 SLEEPING_POSITION Lnet/minecraft/class_2940; FIELD field_18321 brain Lnet/minecraft/class_4095; @@ -159,7 +160,14 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity COMMENT the main adversary responsible for this entity's death METHOD method_23883 dropXp ()V METHOD method_24518 isHolding (Lnet/minecraft/class_1792;)Z + COMMENT Checks if this entity is holding a certain item. + COMMENT + COMMENT

This checks both the entity's main and off hand. + ARG 1 item METHOD method_24520 isHolding (Ljava/util/function/Predicate;)Z + COMMENT Checks if this entity is holding a certain item. + COMMENT + COMMENT

This checks both the entity's main and off hand. METHOD method_24831 getPoses ()Lcom/google/common/collect/ImmutableList; METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z ARG 1 type diff --git a/mappings/net/minecraft/nbt/NbtHelper.mapping b/mappings/net/minecraft/nbt/NbtHelper.mapping index a6e9d394f3..b299bd655f 100644 --- a/mappings/net/minecraft/nbt/NbtHelper.mapping +++ b/mappings/net/minecraft/nbt/NbtHelper.mapping @@ -23,20 +23,31 @@ CLASS net/minecraft/class_2512 net/minecraft/nbt/NbtHelper ARG 1 subject ARG 2 equalValue METHOD method_10688 update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_4284;Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487; + COMMENT Uses the data fixer to update a tag to the latest data version. ARG 0 fixer + COMMENT the data fixer ARG 1 fixTypes + COMMENT the fix types ARG 2 tag + COMMENT the tag to fix ARG 3 oldVersion + COMMENT the data version of the compound tag METHOD method_10691 toBlockPos (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2338; ARG 0 tag METHOD method_10692 fromBlockPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487; ARG 0 pos METHOD method_10693 update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_4284;Lnet/minecraft/class_2487;II)Lnet/minecraft/class_2487; + COMMENT Uses the data fixer to update a tag. ARG 0 fixer + COMMENT the data fixer ARG 1 fixTypes + COMMENT the fix types ARG 2 tag + COMMENT the tag to fix ARG 3 oldVersion - ARG 4 currentVersion + COMMENT the data version of the compound tag + ARG 4 targetVersion + COMMENT the data version to update the tag to METHOD method_25929 fromUuidNew (Ljava/util/UUID;)Lnet/minecraft/class_2495; COMMENT Serializes a {@link UUID} into its equivalent NBT representation. COMMENT diff --git a/mappings/net/minecraft/network/listener/ClientPlayPacketListener.mapping b/mappings/net/minecraft/network/listener/ClientPlayPacketListener.mapping index 4769c5382f..e4deccfee4 100644 --- a/mappings/net/minecraft/network/listener/ClientPlayPacketListener.mapping +++ b/mappings/net/minecraft/network/listener/ClientPlayPacketListener.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_2602 net/minecraft/network/listener/ClientPlayPacketListener + COMMENT A client side packet listener where play stage packets from the server are processed. METHOD method_11077 onParticle (Lnet/minecraft/class_2675;)V ARG 1 packet METHOD method_11078 onBossBar (Lnet/minecraft/class_2629;)V @@ -70,6 +71,7 @@ CLASS net/minecraft/class_2602 net/minecraft/network/listener/ClientPlayPacketLi METHOD method_11111 onSetCameraEntity (Lnet/minecraft/class_2734;)V ARG 1 packet METHOD method_11112 onEntitySpawn (Lnet/minecraft/class_2604;)V + COMMENT Handles the spawning of non-living entities. ARG 1 packet METHOD method_11113 onPlayerList (Lnet/minecraft/class_2703;)V ARG 1 packet diff --git a/mappings/net/minecraft/network/listener/ServerPlayPacketListener.mapping b/mappings/net/minecraft/network/listener/ServerPlayPacketListener.mapping index f60e98f064..9ab06a5892 100644 --- a/mappings/net/minecraft/network/listener/ServerPlayPacketListener.mapping +++ b/mappings/net/minecraft/network/listener/ServerPlayPacketListener.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_2792 net/minecraft/network/listener/ServerPlayPacketListener + COMMENT A server side packet listener where play stage packets from a client are processed. METHOD method_12045 onClientCommand (Lnet/minecraft/class_2848;)V ARG 1 packet METHOD method_12046 onPlayerInteractBlock (Lnet/minecraft/class_2885;)V diff --git a/mappings/net/minecraft/server/command/CommandOutput.mapping b/mappings/net/minecraft/server/command/CommandOutput.mapping index 32a1734e03..1c1d0bae74 100644 --- a/mappings/net/minecraft/server/command/CommandOutput.mapping +++ b/mappings/net/minecraft/server/command/CommandOutput.mapping @@ -1,6 +1,7 @@ CLASS net/minecraft/class_2165 net/minecraft/server/command/CommandOutput + COMMENT Represents a subject which can receive command feedback. FIELD field_17395 DUMMY Lnet/minecraft/class_2165; - METHOD method_9200 sendCommandFeedback ()Z + METHOD method_9200 shouldReceiveFeedback ()Z METHOD method_9201 shouldBroadcastConsoleToOps ()Z METHOD method_9202 shouldTrackOutput ()Z METHOD method_9203 sendMessage (Lnet/minecraft/class_2561;)V diff --git a/mappings/net/minecraft/util/Clearable.mapping b/mappings/net/minecraft/util/Clearable.mapping index bddc0af04f..82773d53bc 100644 --- a/mappings/net/minecraft/util/Clearable.mapping +++ b/mappings/net/minecraft/util/Clearable.mapping @@ -1,3 +1,4 @@ CLASS net/minecraft/class_3829 net/minecraft/util/Clearable + COMMENT Represents an object which can be cleared. METHOD method_16825 clear (Ljava/lang/Object;)V METHOD method_5448 clear ()V