From 0f8101d995a4f28f4588ef0c2b1dc92c95d7fa9b Mon Sep 17 00:00:00 2001 From: Shnupbups Date: Thu, 21 Nov 2024 22:06:31 +1100 Subject: [PATCH] 1.21.4-pre1 stuff (#4053) There's still some weird packet stuff but I'll leave that for apple :) --- .../entity/CreakingHeartBlockEntity.mapping | 5 +++++ .../minecraft/client/data/ItemModels.mapping | 3 +++ .../minecraft/client/item/ItemAsset.mapping | 5 +++++ .../client/item/ItemModelManager.mapping | 3 +++ .../client/model/ItemAssetsLoader.mapping | 13 ++++++++++++ .../render/item/HeldItemRenderer.mapping | 6 ++++++ .../render/item/model/EmptyItemModel.mapping | 4 ++++ .../model/special/HeadModelRenderer.mapping | 2 ++ .../property/bool/ViewEntityProperty.mapping | 2 ++ .../property/numeric/TimeProperty.mapping | 12 +++++++++++ .../select/ContextDimensionProperty.mapping | 2 ++ ...ping => ContextEntityTypeProperty.mapping} | 2 +- .../property/select/LocalTimeProperty.mapping | 20 ++++++++++++++++++- .../render/item/tint/TeamTintSource.mapping | 4 ++++ .../render/item/tint/TintSource.mapping | 2 ++ .../render/model/BakedModelManager.mapping | 3 +++ .../client/render/model/ModelBaker.mapping | 5 +++++ .../component/type/NbtComponent.mapping | 5 +++++ .../net/minecraft/entity/EntityType.mapping | 2 ++ .../net/minecraft/entity/Leashable.mapping | 6 ++++++ .../net/minecraft/entity/LivingEntity.mapping | 1 + .../entity/mob/CreakingEntity.mapping | 7 ++++++- mappings/net/minecraft/item/Item.mapping | 2 ++ mappings/net/minecraft/item/ItemStack.mapping | 2 ++ .../net/minecraft/item/SpawnEggItem.mapping | 5 +++++ .../net/minecraft/util/PngMetadata.mapping | 1 + 26 files changed, 121 insertions(+), 3 deletions(-) create mode 100644 mappings/net/minecraft/client/render/item/model/EmptyItemModel.mapping create mode 100644 mappings/net/minecraft/client/render/item/property/bool/ViewEntityProperty.mapping create mode 100644 mappings/net/minecraft/client/render/item/property/select/ContextDimensionProperty.mapping rename mappings/net/minecraft/client/render/item/property/select/{HolderTypeProperty.mapping => ContextEntityTypeProperty.mapping} (74%) create mode 100644 mappings/net/minecraft/client/render/item/tint/TeamTintSource.mapping diff --git a/mappings/net/minecraft/block/entity/CreakingHeartBlockEntity.mapping b/mappings/net/minecraft/block/entity/CreakingHeartBlockEntity.mapping index 6521c291a2..262a7e1681 100644 --- a/mappings/net/minecraft/block/entity/CreakingHeartBlockEntity.mapping +++ b/mappings/net/minecraft/block/entity/CreakingHeartBlockEntity.mapping @@ -46,3 +46,8 @@ CLASS net/minecraft/class_10323 net/minecraft/block/entity/CreakingHeartBlockEnt METHOD method_65804 (Lnet/minecraft/class_10275;)Ljava/lang/Double; ARG 1 creaking METHOD method_65805 getCreakingPuppet ()Ljava/util/Optional; + METHOD method_65905 setCreakingPuppet (Lnet/minecraft/class_10275;)V + ARG 1 creakingPuppet + METHOD method_65906 setCreakingPuppetFromUuid (Ljava/util/UUID;)V + ARG 1 creakingPuppetUuid + METHOD method_65907 clearCreakingPuppet ()V diff --git a/mappings/net/minecraft/client/data/ItemModels.mapping b/mappings/net/minecraft/client/data/ItemModels.mapping index bdac7af570..e5c78a45ff 100644 --- a/mappings/net/minecraft/client/data/ItemModels.mapping +++ b/mappings/net/minecraft/client/data/ItemModels.mapping @@ -68,3 +68,6 @@ CLASS net/minecraft/class_10410 net/minecraft/client/data/ItemModels METHOD method_65808 christmasSelect (Lnet/minecraft/class_10439$class_10441;Lnet/minecraft/class_10439$class_10441;)Lnet/minecraft/class_10439$class_10441; ARG 0 regularModel ARG 1 christmasModel + METHOD method_65909 overworldSelect (Lnet/minecraft/class_10439$class_10441;Lnet/minecraft/class_10439$class_10441;)Lnet/minecraft/class_10439$class_10441; + ARG 0 overworldModel + ARG 1 fallback diff --git a/mappings/net/minecraft/client/item/ItemAsset.mapping b/mappings/net/minecraft/client/item/ItemAsset.mapping index 94f2da39bb..d1b5558d20 100644 --- a/mappings/net/minecraft/client/item/ItemAsset.mapping +++ b/mappings/net/minecraft/client/item/ItemAsset.mapping @@ -2,3 +2,8 @@ CLASS net/minecraft/class_10434 net/minecraft/client/item/ItemAsset FIELD field_55327 CODEC Lcom/mojang/serialization/Codec; METHOD method_65588 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + CLASS class_10543 Properties + FIELD field_55549 DEFAULT Lnet/minecraft/class_10434$class_10543; + FIELD field_55550 CODEC Lcom/mojang/serialization/MapCodec; + METHOD method_65911 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/mappings/net/minecraft/client/item/ItemModelManager.mapping b/mappings/net/minecraft/client/item/ItemModelManager.mapping index ec11f1318e..0e416ef9a5 100644 --- a/mappings/net/minecraft/client/item/ItemModelManager.mapping +++ b/mappings/net/minecraft/client/item/ItemModelManager.mapping @@ -1,5 +1,6 @@ CLASS net/minecraft/class_10442 net/minecraft/client/item/ItemModelManager FIELD field_55334 modelGetter Ljava/util/function/Function; + FIELD field_55553 propertiesGetter Ljava/util/function/Function; METHOD (Lnet/minecraft/class_1092;)V ARG 1 bakedModelManager METHOD method_65593 resolveProfileComponent (Lnet/minecraft/class_1799;)V @@ -32,3 +33,5 @@ CLASS net/minecraft/class_10442 net/minecraft/client/item/ItemModelManager ARG 5 world ARG 6 entity ARG 7 seed + METHOD method_65912 hasHandAnimationOnSwap (Lnet/minecraft/class_1799;)Z + ARG 1 stack diff --git a/mappings/net/minecraft/client/model/ItemAssetsLoader.mapping b/mappings/net/minecraft/client/model/ItemAssetsLoader.mapping index 2ccedb8bc9..fc5571a1a9 100644 --- a/mappings/net/minecraft/client/model/ItemAssetsLoader.mapping +++ b/mappings/net/minecraft/client/model/ItemAssetsLoader.mapping @@ -1,4 +1,17 @@ CLASS net/minecraft/class_10521 net/minecraft/client/model/ItemAssetsLoader FIELD field_55460 LOGGER Lorg/slf4j/Logger; + FIELD field_55571 FINDER Lnet/minecraft/class_7654; + METHOD method_65927 (Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;Lcom/mojang/serialization/DataResult$Error;)V + ARG 2 error + METHOD method_65929 load (Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; + ARG 0 resourceManager + ARG 1 executor + METHOD method_65930 (Ljava/util/List;)Lnet/minecraft/class_10521$class_10522; + ARG 0 definitions + METHOD method_65931 (Ljava/util/List;Ljava/util/concurrent/Executor;Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)V + ARG 2 id + ARG 3 resource + METHOD method_65932 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage; + ARG 1 resources CLASS class_10522 Result CLASS class_10523 Definition diff --git a/mappings/net/minecraft/client/render/item/HeldItemRenderer.mapping b/mappings/net/minecraft/client/render/item/HeldItemRenderer.mapping index 525bec2e15..fe61786544 100644 --- a/mappings/net/minecraft/client/render/item/HeldItemRenderer.mapping +++ b/mappings/net/minecraft/client/render/item/HeldItemRenderer.mapping @@ -33,10 +33,13 @@ CLASS net/minecraft/class_759 net/minecraft/client/render/item/HeldItemRenderer FIELD field_4051 prevEquipProgressOffHand F FIELD field_4052 equipProgressOffHand F FIELD field_4053 prevEquipProgressMainHand F + FIELD field_53067 mapRenderState Lnet/minecraft/class_10090; + FIELD field_55548 itemModelManager Lnet/minecraft/class_10442; METHOD (Lnet/minecraft/class_310;Lnet/minecraft/class_898;Lnet/minecraft/class_918;Lnet/minecraft/class_10442;)V ARG 1 client ARG 2 entityRenderDispatcher ARG 3 itemRenderer + ARG 4 itemModelManager METHOD method_22976 renderItem (FLnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;Lnet/minecraft/class_746;I)V ARG 1 tickDelta ARG 2 matrices @@ -132,6 +135,9 @@ CLASS net/minecraft/class_759 net/minecraft/client/render/item/HeldItemRenderer ARG 3 matrices ARG 4 armX ARG 5 arm + METHOD method_65910 shouldSkipHandAnimationOnSwap (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z + ARG 1 from + ARG 2 to CLASS class_5773 HandRenderType FIELD field_28387 renderMainHand Z FIELD field_28388 renderOffHand Z diff --git a/mappings/net/minecraft/client/render/item/model/EmptyItemModel.mapping b/mappings/net/minecraft/client/render/item/model/EmptyItemModel.mapping new file mode 100644 index 0000000000..2c83f66e9e --- /dev/null +++ b/mappings/net/minecraft/client/render/item/model/EmptyItemModel.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/class_10544 net/minecraft/client/render/item/model/EmptyItemModel + FIELD field_55551 INSTANCE Lnet/minecraft/class_10439; + CLASS class_10545 Unbaked + FIELD field_55552 CODEC Lcom/mojang/serialization/MapCodec; diff --git a/mappings/net/minecraft/client/render/item/model/special/HeadModelRenderer.mapping b/mappings/net/minecraft/client/render/item/model/special/HeadModelRenderer.mapping index 6055dd2050..970c2c25cc 100644 --- a/mappings/net/minecraft/client/render/item/model/special/HeadModelRenderer.mapping +++ b/mappings/net/minecraft/client/render/item/model/special/HeadModelRenderer.mapping @@ -2,10 +2,12 @@ CLASS net/minecraft/class_10513 net/minecraft/client/render/item/model/special/H FIELD field_55449 kind Lnet/minecraft/class_2484$class_2485; FIELD field_55450 model Lnet/minecraft/class_5598; FIELD field_55525 texture Lnet/minecraft/class_2960; + FIELD field_55566 animation F METHOD (Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_5598;Lnet/minecraft/class_2960;F)V ARG 1 kind ARG 2 model ARG 3 texture + ARG 4 animation CLASS class_10514 Unbaked FIELD field_55451 CODEC Lcom/mojang/serialization/MapCodec; METHOD (Lnet/minecraft/class_2484$class_2485;)V diff --git a/mappings/net/minecraft/client/render/item/property/bool/ViewEntityProperty.mapping b/mappings/net/minecraft/client/render/item/property/bool/ViewEntityProperty.mapping new file mode 100644 index 0000000000..8a215f4f34 --- /dev/null +++ b/mappings/net/minecraft/client/render/item/property/bool/ViewEntityProperty.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_10546 net/minecraft/client/render/item/property/bool/ViewEntityProperty + FIELD field_55554 CODEC Lcom/mojang/serialization/MapCodec; diff --git a/mappings/net/minecraft/client/render/item/property/numeric/TimeProperty.mapping b/mappings/net/minecraft/client/render/item/property/numeric/TimeProperty.mapping index 1c9039e2e8..624e6cbf2a 100644 --- a/mappings/net/minecraft/client/render/item/property/numeric/TimeProperty.mapping +++ b/mappings/net/minecraft/client/render/item/property/numeric/TimeProperty.mapping @@ -2,9 +2,21 @@ CLASS net/minecraft/class_10483 net/minecraft/client/render/item/property/numeri FIELD field_55409 CODEC Lcom/mojang/serialization/MapCodec; FIELD field_55411 random Lnet/minecraft/class_5819; FIELD field_55412 angler Lnet/minecraft/class_10480$class_10481; + FIELD field_55556 source Lnet/minecraft/class_10483$class_10547; METHOD (ZLnet/minecraft/class_10483$class_10547;)V ARG 1 wobble + ARG 2 source METHOD method_65669 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance METHOD method_65670 (Lnet/minecraft/class_10483;)Lnet/minecraft/class_10483$class_10547; ARG 0 property + CLASS class_10547 Source + FIELD field_55560 CODEC Lcom/mojang/serialization/Codec; + FIELD field_55561 name Ljava/lang/String; + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name + METHOD method_65914 getAngle (Lnet/minecraft/class_638;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)F + ARG 1 world + ARG 2 stack + ARG 3 user + ARG 4 random diff --git a/mappings/net/minecraft/client/render/item/property/select/ContextDimensionProperty.mapping b/mappings/net/minecraft/client/render/item/property/select/ContextDimensionProperty.mapping new file mode 100644 index 0000000000..051458c3df --- /dev/null +++ b/mappings/net/minecraft/client/render/item/property/select/ContextDimensionProperty.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_10548 net/minecraft/client/render/item/property/select/ContextDimensionProperty + FIELD field_55563 TYPE Lnet/minecraft/class_10494$class_10495; diff --git a/mappings/net/minecraft/client/render/item/property/select/HolderTypeProperty.mapping b/mappings/net/minecraft/client/render/item/property/select/ContextEntityTypeProperty.mapping similarity index 74% rename from mappings/net/minecraft/client/render/item/property/select/HolderTypeProperty.mapping rename to mappings/net/minecraft/client/render/item/property/select/ContextEntityTypeProperty.mapping index bd1262b704..409641c8b8 100644 --- a/mappings/net/minecraft/client/render/item/property/select/HolderTypeProperty.mapping +++ b/mappings/net/minecraft/client/render/item/property/select/ContextEntityTypeProperty.mapping @@ -1,2 +1,2 @@ -CLASS net/minecraft/class_10531 net/minecraft/client/render/item/property/select/HolderTypeProperty +CLASS net/minecraft/class_10531 net/minecraft/client/render/item/property/select/ContextEntityTypeProperty FIELD field_55511 TYPE Lnet/minecraft/class_10494$class_10495; diff --git a/mappings/net/minecraft/client/render/item/property/select/LocalTimeProperty.mapping b/mappings/net/minecraft/client/render/item/property/select/LocalTimeProperty.mapping index 8f0544480a..d2815d1777 100644 --- a/mappings/net/minecraft/client/render/item/property/select/LocalTimeProperty.mapping +++ b/mappings/net/minecraft/client/render/item/property/select/LocalTimeProperty.mapping @@ -6,8 +6,13 @@ CLASS net/minecraft/class_10532 net/minecraft/client/render/item/property/select FIELD field_55519 dateFormat Lcom/ibm/icu/text/DateFormat; FIELD field_55520 nextUpdateTime J FIELD field_55521 currentTimeFormatted Ljava/lang/String; + FIELD field_55564 DATA_CODEC Lcom/mojang/serialization/MapCodec; + FIELD field_55565 data Lnet/minecraft/class_10532$class_10549; + METHOD (Lnet/minecraft/class_10532$class_10549;Lcom/ibm/icu/text/DateFormat;)V + ARG 1 data + ARG 2 dateFormat METHOD method_65839 (Lcom/ibm/icu/util/ULocale;Lcom/ibm/icu/util/TimeZone;)Lcom/ibm/icu/util/Calendar; - ARG 1 timeZonex + ARG 1 timeZone METHOD method_65840 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance METHOD method_65843 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; @@ -17,3 +22,16 @@ CLASS net/minecraft/class_10532 net/minecraft/client/render/item/property/select ARG 1 locale ARG 2 timeZone METHOD method_65845 formatCurrentTime ()Ljava/lang/String; + METHOD method_65917 validate (Lnet/minecraft/class_10532$class_10549;)Lcom/mojang/serialization/DataResult; + ARG 0 data + METHOD method_65918 (Lnet/minecraft/class_10532;)Lcom/mojang/serialization/DataResult; + ARG 0 property + METHOD method_65919 (Ljava/lang/String;)Ljava/lang/IllegalStateException; + ARG 0 format + METHOD method_65920 (Lnet/minecraft/class_10532$class_10549;)Ljava/util/Optional; + ARG 0 data + METHOD method_65921 (Lnet/minecraft/class_10532$class_10549;)Ljava/lang/String; + ARG 0 data + METHOD method_65922 (Lnet/minecraft/class_10532$class_10549;)Ljava/lang/String; + ARG 0 data + CLASS class_10549 Data diff --git a/mappings/net/minecraft/client/render/item/tint/TeamTintSource.mapping b/mappings/net/minecraft/client/render/item/tint/TeamTintSource.mapping new file mode 100644 index 0000000000..a23517ffb0 --- /dev/null +++ b/mappings/net/minecraft/client/render/item/tint/TeamTintSource.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/class_10541 net/minecraft/client/render/item/tint/TeamTintSource + FIELD field_55547 CODEC Lcom/mojang/serialization/MapCodec; + METHOD method_65908 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/mappings/net/minecraft/client/render/item/tint/TintSource.mapping b/mappings/net/minecraft/client/render/item/tint/TintSource.mapping index 81487152a4..d228902fb5 100644 --- a/mappings/net/minecraft/client/render/item/tint/TintSource.mapping +++ b/mappings/net/minecraft/client/render/item/tint/TintSource.mapping @@ -2,3 +2,5 @@ CLASS net/minecraft/class_10401 net/minecraft/client/render/item/tint/TintSource METHOD method_65387 getCodec ()Lcom/mojang/serialization/MapCodec; METHOD method_65389 getTint (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;)I ARG 1 stack + ARG 2 world + ARG 3 user diff --git a/mappings/net/minecraft/client/render/model/BakedModelManager.mapping b/mappings/net/minecraft/client/render/model/BakedModelManager.mapping index 00339a5ebe..7bdd6f4d9a 100644 --- a/mappings/net/minecraft/client/render/model/BakedModelManager.mapping +++ b/mappings/net/minecraft/client/render/model/BakedModelManager.mapping @@ -13,6 +13,7 @@ CLASS net/minecraft/class_1092 net/minecraft/client/render/model/BakedModelManag FIELD field_55474 blockEntityModels Lnet/minecraft/class_10418; FIELD field_55475 missingItemModel Lnet/minecraft/class_10439; FIELD field_55476 modelGroups Lit/unimi/dsi/fastutil/objects/Object2IntMap; + FIELD field_55573 itemProperties Ljava/util/Map; METHOD (Lnet/minecraft/class_1060;Lnet/minecraft/class_324;I)V ARG 1 textureManager ARG 2 colorMap @@ -86,4 +87,6 @@ CLASS net/minecraft/class_1092 net/minecraft/client/render/model/BakedModelManag ARG 0 id METHOD method_65756 getBlockEntityModelsSupplier ()Ljava/util/function/Supplier; METHOD method_65757 getEntityModelsSupplier ()Ljava/util/function/Supplier; + METHOD method_65934 getItemProperties (Lnet/minecraft/class_2960;)Lnet/minecraft/class_10434$class_10543; + ARG 1 id CLASS class_7779 BakingResult diff --git a/mappings/net/minecraft/client/render/model/ModelBaker.mapping b/mappings/net/minecraft/client/render/model/ModelBaker.mapping index f44e163c2f..7f1c0439e7 100644 --- a/mappings/net/minecraft/client/render/model/ModelBaker.mapping +++ b/mappings/net/minecraft/client/render/model/ModelBaker.mapping @@ -16,6 +16,7 @@ CLASS net/minecraft/class_1088 net/minecraft/client/render/model/ModelBaker FIELD field_55463 entityModels Lnet/minecraft/class_5599; FIELD field_55464 blockModels Ljava/util/Map; FIELD field_55466 allModels Ljava/util/Map; + FIELD field_55572 itemAssets Ljava/util/Map; METHOD (Lnet/minecraft/class_5599;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/class_1100;)V ARG 1 entityModels ARG 2 blockModels @@ -27,8 +28,12 @@ CLASS net/minecraft/class_1088 net/minecraft/client/render/model/ModelBaker METHOD method_23216 (Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960; ARG 0 id METHOD method_45876 bake (Lnet/minecraft/class_1088$class_9826;)Lnet/minecraft/class_1088$class_10524; + ARG 1 spriteGetter METHOD method_60912 (Ljava/lang/String;)Ljava/lang/String; ARG 0 path + METHOD method_65736 (Lnet/minecraft/class_1088$class_9826;Lnet/minecraft/class_10439;Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/class_2960;Lnet/minecraft/class_10434;)V + ARG 5 id + ARG 6 item METHOD method_65737 (Lnet/minecraft/class_1088$class_9826;Ljava/util/Map;Lnet/minecraft/class_1091;Lnet/minecraft/class_9979;)V ARG 3 id ARG 4 model diff --git a/mappings/net/minecraft/component/type/NbtComponent.mapping b/mappings/net/minecraft/component/type/NbtComponent.mapping index a2997b3632..ed23a8fbf6 100644 --- a/mappings/net/minecraft/component/type/NbtComponent.mapping +++ b/mappings/net/minecraft/component/type/NbtComponent.mapping @@ -58,3 +58,8 @@ CLASS net/minecraft/class_9279 net/minecraft/component/type/NbtComponent ARG 1 ops ARG 2 decoder METHOD method_65131 getId ()Lnet/minecraft/class_2960; + METHOD method_65903 (Lnet/minecraft/class_5321;Lnet/minecraft/class_2960;Lnet/minecraft/class_7225$class_7226;)Ljava/util/Optional; + ARG 2 registry + METHOD method_65904 getRegistryValueOfId (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_5321;)Ljava/lang/Object; + ARG 1 registries + ARG 2 registryRef diff --git a/mappings/net/minecraft/entity/EntityType.mapping b/mappings/net/minecraft/entity/EntityType.mapping index cb8bb7e006..2e321b454c 100644 --- a/mappings/net/minecraft/entity/EntityType.mapping +++ b/mappings/net/minecraft/entity/EntityType.mapping @@ -9,6 +9,7 @@ CLASS net/minecraft/class_1299 net/minecraft/entity/EntityType FIELD field_36398 registryEntry Lnet/minecraft/class_6880$class_6883; FIELD field_40115 requiredFeatures Lnet/minecraft/class_7699; FIELD field_50125 spawnBoxScale F + FIELD field_55544 POTENTIALLY_EXECUTES_COMMANDS Ljava/util/Set; FIELD field_6056 saveable Z FIELD field_6072 summonable Z FIELD field_6088 LOGGER Lorg/slf4j/Logger; @@ -187,6 +188,7 @@ CLASS net/minecraft/class_1299 net/minecraft/entity/EntityType METHOD method_64439 (Ljava/util/function/Supplier;Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1690; ARG 1 type ARG 2 world + METHOD method_65893 canPotentiallyExecuteCommands ()Z CLASS 1 METHOD method_31490 (Lnet/minecraft/class_1937;Lnet/minecraft/class_3730;Ljava/util/function/Consumer;Lnet/minecraft/class_2520;)V ARG 3 nbt diff --git a/mappings/net/minecraft/entity/Leashable.mapping b/mappings/net/minecraft/entity/Leashable.mapping index a1653c3556..4e23a4793e 100644 --- a/mappings/net/minecraft/entity/Leashable.mapping +++ b/mappings/net/minecraft/entity/Leashable.mapping @@ -46,9 +46,11 @@ CLASS net/minecraft/class_9817 net/minecraft/entity/Leashable METHOD method_60966 getLeashHolder (Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297; ARG 0 entity METHOD method_60967 readLeashDataFromNbt (Lnet/minecraft/class_2487;)V + ARG 1 nbt METHOD method_60968 setUnresolvedLeashHolderId (I)V ARG 1 unresolvedLeashHolderId METHOD method_60969 canLeashAttachTo ()Z + METHOD method_60970 breakLongLeash ()V METHOD method_61161 applyLeashElasticity (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V ARG 0 entity ARG 1 leashHolder @@ -56,6 +58,10 @@ CLASS net/minecraft/class_9817 net/minecraft/entity/Leashable METHOD method_61162 applyLeashElasticity (Lnet/minecraft/class_1297;F)V ARG 1 leashHolder ARG 2 distance + METHOD method_65894 detachLeashWithoutDrop ()V + METHOD method_65895 onLeashRemoved ()V + METHOD method_65896 readLeashData (Lnet/minecraft/class_2487;)Lnet/minecraft/class_9817$class_9818; + ARG 0 nbt CLASS class_9818 LeashData FIELD field_52217 leashHolder Lnet/minecraft/class_1297; FIELD field_52218 unresolvedLeashData Lcom/mojang/datafixers/util/Either; diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index 2b35a11884..62275c4698 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -751,4 +751,5 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity ARG 1 damageSource METHOD method_65344 becomeAngry (Lnet/minecraft/class_1282;)V ARG 1 damageSource + METHOD method_65897 canBeNameTagged ()Z CLASS class_6823 FallSounds diff --git a/mappings/net/minecraft/entity/mob/CreakingEntity.mapping b/mappings/net/minecraft/entity/mob/CreakingEntity.mapping index 88cbf1605b..c94b205a6d 100644 --- a/mappings/net/minecraft/entity/mob/CreakingEntity.mapping +++ b/mappings/net/minecraft/entity/mob/CreakingEntity.mapping @@ -10,6 +10,7 @@ CLASS net/minecraft/class_10275 net/minecraft/entity/mob/CreakingEntity FIELD field_55490 glowingEyesWhileCrumbling Z FIELD field_55491 nextEyeFlickerTime I FIELD field_55493 playerIntersectionTimer I + FIELD field_55545 HOME_POS Lnet/minecraft/class_2940; METHOD method_64624 tickAttackAnimation ()V METHOD method_64627 createCreakingAttributes ()Lnet/minecraft/class_5132$class_5133; METHOD method_64628 isUnrooted ()Z @@ -25,13 +26,17 @@ CLASS net/minecraft/class_10275 net/minecraft/entity/mob/CreakingEntity METHOD method_65786 isCrumbling ()Z METHOD method_65787 hasGlowingEyesWhileCrumbling ()Z METHOD method_65788 updateCrumblingEyeFlicker ()V - METHOD method_65789 setHomePos (Lnet/minecraft/class_2338;)V + METHOD method_65789 initHomePos (Lnet/minecraft/class_2338;)V ARG 1 homePos METHOD method_65790 becomeAngryAndGetPlayer (Lnet/minecraft/class_1282;)Lnet/minecraft/class_1657; ARG 1 damageSource METHOD method_65791 killFromHeart (Lnet/minecraft/class_1282;)V ARG 1 damageSource METHOD method_65793 finishCrumbling ()V + METHOD method_65900 getHomePos ()Lnet/minecraft/class_2338; + METHOD method_65901 setHomePos (Lnet/minecraft/class_2338;)V + ARG 1 pos + METHOD method_65902 isTransient ()Z CLASS class_10276 CreakingBodyControl METHOD (Lnet/minecraft/class_10275;Lnet/minecraft/class_10275;)V ARG 2 creaking diff --git a/mappings/net/minecraft/item/Item.mapping b/mappings/net/minecraft/item/Item.mapping index 1e76fac4a3..10196df5f4 100644 --- a/mappings/net/minecraft/item/Item.mapping +++ b/mappings/net/minecraft/item/Item.mapping @@ -140,6 +140,8 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item METHOD method_65043 (Lnet/minecraft/class_6880;)Lcom/mojang/serialization/DataResult; ARG 0 entry METHOD method_65353 shouldShowOperatorBlockWarnings (Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Z + ARG 1 stack + ARG 2 player METHOD method_7836 use (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269; COMMENT Called when the player uses (or starts using) the item. COMMENT The use action, by default, is bound to the right mouse button. diff --git a/mappings/net/minecraft/item/ItemStack.mapping b/mappings/net/minecraft/item/ItemStack.mapping index 938ea65812..c6841ae330 100644 --- a/mappings/net/minecraft/item/ItemStack.mapping +++ b/mappings/net/minecraft/item/ItemStack.mapping @@ -52,6 +52,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack FIELD field_49747 UNCOUNTED_CODEC Lcom/mojang/serialization/Codec; FIELD field_51397 VALIDATED_CODEC Lcom/mojang/serialization/Codec; FIELD field_51398 VALIDATED_UNCOUNTED_CODEC Lcom/mojang/serialization/Codec; + FIELD field_55546 OPERATOR_WARNINGS Ljava/util/List; FIELD field_8030 bobbingAnimationTime I FIELD field_8031 count I FIELD field_8033 LOGGER Lorg/slf4j/Logger; @@ -470,6 +471,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack ARG 3 remainingUseTicks METHOD method_7950 getTooltip (Lnet/minecraft/class_1792$class_9635;Lnet/minecraft/class_1657;Lnet/minecraft/class_1836;)Ljava/util/List; ARG 1 context + ARG 2 player ARG 3 type METHOD method_7951 isSuitableFor (Lnet/minecraft/class_2680;)Z COMMENT Determines whether this item can be used as a suitable tool for mining the specified block. diff --git a/mappings/net/minecraft/item/SpawnEggItem.mapping b/mappings/net/minecraft/item/SpawnEggItem.mapping index 5d26ed9301..d6b26df2ff 100644 --- a/mappings/net/minecraft/item/SpawnEggItem.mapping +++ b/mappings/net/minecraft/item/SpawnEggItem.mapping @@ -12,7 +12,12 @@ CLASS net/minecraft/class_1826 net/minecraft/item/SpawnEggItem ARG 5 pos ARG 6 stack METHOD method_8015 getEntityType (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1299; + ARG 1 registries + ARG 2 stack METHOD method_8017 getAll ()Ljava/lang/Iterable; METHOD method_8018 isOfSameEntityType (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_1799;Lnet/minecraft/class_1299;)Z + ARG 1 registries + ARG 2 stack + ARG 3 type METHOD method_8019 forEntity (Lnet/minecraft/class_1299;)Lnet/minecraft/class_1826; ARG 0 type diff --git a/mappings/net/minecraft/util/PngMetadata.mapping b/mappings/net/minecraft/util/PngMetadata.mapping index ae537c733b..db578df48a 100644 --- a/mappings/net/minecraft/util/PngMetadata.mapping +++ b/mappings/net/minecraft/util/PngMetadata.mapping @@ -2,6 +2,7 @@ CLASS net/minecraft/class_8800 net/minecraft/util/PngMetadata FIELD field_46201 PNG_SIGNATURE J FIELD field_46202 IHDR_CHUNK_TYPE I FIELD field_46203 IHDR_CHUNK_LENGTH I + FIELD field_55543 HEX_FORMAT Ljava/util/HexFormat; METHOD method_53877 fromStream (Ljava/io/InputStream;)Lnet/minecraft/class_8800; ARG 0 stream METHOD method_53878 fromBytes ([B)Lnet/minecraft/class_8800;