diff --git a/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping b/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping index af9f9780f2..61048dc832 100644 --- a/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping +++ b/mappings/net/minecraft/block/cauldron/CauldronBehavior.mapping @@ -22,6 +22,9 @@ CLASS net/minecraft/class_5620 net/minecraft/block/cauldron/CauldronBehavior ARG 3 hand ARG 4 stack ARG 5 state + ARG 6 soundEvent + METHOD method_32208 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_32210 emptyCauldron (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Ljava/util/function/Predicate;Lnet/minecraft/class_3414;)Lnet/minecraft/class_1269; ARG 0 state ARG 1 world @@ -32,3 +35,47 @@ CLASS net/minecraft/class_5620 net/minecraft/block/cauldron/CauldronBehavior ARG 6 output ARG 7 predicate METHOD method_32212 registerBehavior ()V + METHOD method_32218 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack + METHOD method_32219 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack + METHOD method_32220 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack + METHOD method_32221 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack + METHOD method_32222 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack + METHOD method_32696 (Lnet/minecraft/class_2680;)Z + ARG 0 state + METHOD method_32698 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1269; + ARG 0 state + ARG 1 world + ARG 2 pos + ARG 3 player + ARG 4 hand + ARG 5 stack diff --git a/mappings/net/minecraft/class_5658.mapping b/mappings/net/minecraft/class_5658.mapping deleted file mode 100644 index de67f3cbaa..0000000000 --- a/mappings/net/minecraft/class_5658.mapping +++ /dev/null @@ -1,3 +0,0 @@ -CLASS net/minecraft/class_5658 - METHOD method_365 getType ()Lnet/minecraft/class_5657; - METHOD method_366 next (Lnet/minecraft/class_47;)I diff --git a/mappings/net/minecraft/item/BundleItem.mapping b/mappings/net/minecraft/item/BundleItem.mapping index a1aede745f..d837a387bc 100644 --- a/mappings/net/minecraft/item/BundleItem.mapping +++ b/mappings/net/minecraft/item/BundleItem.mapping @@ -1,9 +1,16 @@ CLASS net/minecraft/class_5537 net/minecraft/item/BundleItem FIELD field_27016 ITEM_BAR_COLOR I METHOD method_31557 emptyBundle (Lnet/minecraft/class_1799;Lnet/minecraft/class_1661;)V + ARG 0 stack + ARG 1 playerInventory METHOD method_31560 addToBundle (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V ARG 0 bundle ARG 1 stack METHOD method_31561 getAmountFilled (Lnet/minecraft/class_1799;)F + ARG 0 stack METHOD method_31562 getItemOccupancy (Lnet/minecraft/class_1799;)I + ARG 0 stack METHOD method_31563 getBundleOccupancy (Lnet/minecraft/class_1799;)I + ARG 0 stack + METHOD method_32343 (Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)V + ARG 1 stack diff --git a/mappings/net/minecraft/item/Item.mapping b/mappings/net/minecraft/item/Item.mapping index 7386f27492..049c3a0995 100644 --- a/mappings/net/minecraft/item/Item.mapping +++ b/mappings/net/minecraft/item/Item.mapping @@ -22,11 +22,22 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item ARG 1 source METHOD method_24358 isFireproof ()Z METHOD method_31565 onStackClicked (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;Lnet/minecraft/class_1661;)Z + ARG 1 stack + ARG 2 otherStack + ARG 3 clickType + ARG 4 playerInventory METHOD method_31566 onClicked (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;Lnet/minecraft/class_1661;)Z + ARG 1 stack + ARG 2 otherStack + ARG 3 clickType + ARG 4 playerInventory METHOD method_31567 isItemBarVisible (Lnet/minecraft/class_1799;)Z + ARG 1 stack METHOD method_31568 hasStoredInventory ()Z METHOD method_31569 getItemBarStep (Lnet/minecraft/class_1799;)I + ARG 1 stack METHOD method_31571 getItemBarColor (Lnet/minecraft/class_1799;)I + ARG 1 stack METHOD method_7836 use (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1271; COMMENT Called when an item is used by a player. COMMENT The use action, by default, is bound to the right mouse button. diff --git a/mappings/net/minecraft/loot/ConstantLootTableRange.mapping b/mappings/net/minecraft/loot/ConstantLootTableRange.mapping deleted file mode 100644 index 8a6e5c7098..0000000000 --- a/mappings/net/minecraft/loot/ConstantLootTableRange.mapping +++ /dev/null @@ -1,2 +0,0 @@ -CLASS net/minecraft/class_44 net/minecraft/loot/ConstantLootTableRange - FIELD field_922 value F diff --git a/mappings/net/minecraft/loot/provider/nbt/ContextLootNbtProvider.mapping b/mappings/net/minecraft/loot/provider/nbt/ContextLootNbtProvider.mapping new file mode 100644 index 0000000000..db02c7be85 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/nbt/ContextLootNbtProvider.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/class_5646 net/minecraft/loot/provider/nbt/ContextLootNbtProvider + CLASS class_5647 CustomSerializer + CLASS class_5649 Serializer diff --git a/mappings/net/minecraft/loot/provider/nbt/LootNbtProvider.mapping b/mappings/net/minecraft/loot/provider/nbt/LootNbtProvider.mapping new file mode 100644 index 0000000000..24ceef1330 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/nbt/LootNbtProvider.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_5651 net/minecraft/loot/provider/nbt/LootNbtProvider + METHOD method_32439 getType ()Lnet/minecraft/class_5650; diff --git a/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderType.mapping b/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderType.mapping new file mode 100644 index 0000000000..61712a3c06 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderType.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_5650 net/minecraft/loot/provider/nbt/LootNbtProviderType diff --git a/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderTypes.mapping b/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderTypes.mapping new file mode 100644 index 0000000000..70ee5eb0e3 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/nbt/LootNbtProviderTypes.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/class_5652 net/minecraft/loot/provider/nbt/LootNbtProviderTypes + METHOD method_32443 register (Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5650; + ARG 0 id diff --git a/mappings/net/minecraft/loot/provider/nbt/StorageLootNbtProvider.mapping b/mappings/net/minecraft/loot/provider/nbt/StorageLootNbtProvider.mapping new file mode 100644 index 0000000000..ec8575c959 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/nbt/StorageLootNbtProvider.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/class_5653 net/minecraft/loot/provider/nbt/StorageLootNbtProvider + FIELD field_27920 source Lnet/minecraft/class_2960; + METHOD (Lnet/minecraft/class_2960;)V + ARG 1 source + CLASS class_5654 Serializer diff --git a/mappings/net/minecraft/loot/BinomialLootTableRange.mapping b/mappings/net/minecraft/loot/provider/number/BinomialLootNumberProvider.mapping similarity index 51% rename from mappings/net/minecraft/loot/BinomialLootTableRange.mapping rename to mappings/net/minecraft/loot/provider/number/BinomialLootNumberProvider.mapping index 14556d1ef5..0969c7171f 100644 --- a/mappings/net/minecraft/loot/BinomialLootTableRange.mapping +++ b/mappings/net/minecraft/loot/provider/number/BinomialLootNumberProvider.mapping @@ -1,6 +1,9 @@ -CLASS net/minecraft/class_40 net/minecraft/loot/BinomialLootTableRange +CLASS net/minecraft/class_40 net/minecraft/loot/provider/number/BinomialLootNumberProvider FIELD field_917 p Lnet/minecraft/class_5658; FIELD field_918 n Lnet/minecraft/class_5658; + METHOD (Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)V + ARG 1 n + ARG 2 p METHOD method_273 create (IF)Lnet/minecraft/class_40; ARG 0 n ARG 1 p diff --git a/mappings/net/minecraft/loot/provider/number/ConstantLootNumberProvider.mapping b/mappings/net/minecraft/loot/provider/number/ConstantLootNumberProvider.mapping new file mode 100644 index 0000000000..c4cddab332 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/ConstantLootNumberProvider.mapping @@ -0,0 +1,8 @@ +CLASS net/minecraft/class_44 net/minecraft/loot/provider/number/ConstantLootNumberProvider + FIELD field_922 value F + METHOD (F)V + ARG 1 value + METHOD method_32448 create (F)Lnet/minecraft/class_44; + ARG 0 value + CLASS class_5655 CustomSerializer + CLASS class_5656 Serializer diff --git a/mappings/net/minecraft/loot/provider/number/LootNumberProvider.mapping b/mappings/net/minecraft/loot/provider/number/LootNumberProvider.mapping new file mode 100644 index 0000000000..96fa029557 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/LootNumberProvider.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/class_5658 net/minecraft/loot/provider/number/LootNumberProvider + METHOD method_32454 nextFloat (Lnet/minecraft/class_47;)F + ARG 1 context + METHOD method_365 getType ()Lnet/minecraft/class_5657; + METHOD method_366 nextInt (Lnet/minecraft/class_47;)I + ARG 1 context diff --git a/mappings/net/minecraft/loot/provider/number/LootNumberProviderType.mapping b/mappings/net/minecraft/loot/provider/number/LootNumberProviderType.mapping new file mode 100644 index 0000000000..b915e4a64f --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/LootNumberProviderType.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_5657 net/minecraft/loot/provider/number/LootNumberProviderType diff --git a/mappings/net/minecraft/loot/provider/number/LootNumberProviderTypes.mapping b/mappings/net/minecraft/loot/provider/number/LootNumberProviderTypes.mapping new file mode 100644 index 0000000000..c41ed3eb75 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/LootNumberProviderTypes.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/class_5659 net/minecraft/loot/provider/number/LootNumberProviderTypes + METHOD method_32456 register (Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5657; + ARG 0 id diff --git a/mappings/net/minecraft/loot/provider/number/ScoreLootNumberProvider.mapping b/mappings/net/minecraft/loot/provider/number/ScoreLootNumberProvider.mapping new file mode 100644 index 0000000000..80d1994248 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/ScoreLootNumberProvider.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_5660 net/minecraft/loot/provider/number/ScoreLootNumberProvider + CLASS class_5661 Serializer diff --git a/mappings/net/minecraft/loot/provider/number/UniformLootNumberProvider.mapping b/mappings/net/minecraft/loot/provider/number/UniformLootNumberProvider.mapping new file mode 100644 index 0000000000..8c42daf341 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/number/UniformLootNumberProvider.mapping @@ -0,0 +1,10 @@ +CLASS net/minecraft/class_5662 net/minecraft/loot/provider/number/UniformLootNumberProvider + FIELD field_27928 min Lnet/minecraft/class_5658; + FIELD field_27929 max Lnet/minecraft/class_5658; + METHOD (Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)V + ARG 1 min + ARG 2 max + METHOD method_32462 create (FF)Lnet/minecraft/class_5662; + ARG 0 min + ARG 1 max + CLASS class_5663 Serializer diff --git a/mappings/net/minecraft/loot/provider/score/ContextLootScoreProvider.mapping b/mappings/net/minecraft/loot/provider/score/ContextLootScoreProvider.mapping new file mode 100644 index 0000000000..c95ed00430 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/score/ContextLootScoreProvider.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_5664 net/minecraft/loot/provider/score/ContextLootScoreProvider diff --git a/mappings/net/minecraft/loot/provider/score/FixedLootScoreProvider.mapping b/mappings/net/minecraft/loot/provider/score/FixedLootScoreProvider.mapping new file mode 100644 index 0000000000..56c89146e5 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/score/FixedLootScoreProvider.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/class_5667 net/minecraft/loot/provider/score/FixedLootScoreProvider + FIELD field_27931 name Ljava/lang/String; + METHOD (Ljava/lang/String;)V + ARG 1 name + CLASS class_5668 Serializer diff --git a/mappings/net/minecraft/loot/provider/score/LootScoreProvider.mapping b/mappings/net/minecraft/loot/provider/score/LootScoreProvider.mapping new file mode 100644 index 0000000000..d135ef2574 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/score/LootScoreProvider.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/class_5670 net/minecraft/loot/provider/score/LootScoreProvider + METHOD method_32475 getType ()Lnet/minecraft/class_5669; + METHOD method_32476 getName (Lnet/minecraft/class_47;)Ljava/lang/String; + ARG 1 context diff --git a/mappings/net/minecraft/loot/provider/score/LootScoreProviderType.mapping b/mappings/net/minecraft/loot/provider/score/LootScoreProviderType.mapping new file mode 100644 index 0000000000..4a521a9986 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/score/LootScoreProviderType.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_5669 net/minecraft/loot/provider/score/LootScoreProviderType diff --git a/mappings/net/minecraft/loot/provider/score/LootScoreProviderTypes.mapping b/mappings/net/minecraft/loot/provider/score/LootScoreProviderTypes.mapping new file mode 100644 index 0000000000..9526258fa7 --- /dev/null +++ b/mappings/net/minecraft/loot/provider/score/LootScoreProviderTypes.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/class_5671 net/minecraft/loot/provider/score/LootScoreProviderTypes + METHOD method_32479 register (Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5669; + ARG 0 id diff --git a/mappings/net/minecraft/util/registry/Registry.mapping b/mappings/net/minecraft/util/registry/Registry.mapping index be7963a522..f0352aa711 100644 --- a/mappings/net/minecraft/util/registry/Registry.mapping +++ b/mappings/net/minecraft/util/registry/Registry.mapping @@ -102,6 +102,12 @@ CLASS net/minecraft/class_2378 net/minecraft/util/registry/Registry FIELD field_25297 LOOT_CONDITION_TYPE_KEY Lnet/minecraft/class_5321; FIELD field_25299 LOOT_CONDITION_TYPE Lnet/minecraft/class_2378; FIELD field_25490 DIMENSION_OPTIONS Lnet/minecraft/class_5321; + FIELD field_28005 LOOT_NUMBER_PROVIDER_TYPE_KEY Lnet/minecraft/class_5321; + FIELD field_28006 LOOT_NBT_PROVIDER_TYPE_KEY Lnet/minecraft/class_5321; + FIELD field_28007 LOOT_SCORE_PROVIDER_TYPE_KEY Lnet/minecraft/class_5321; + FIELD field_28008 LOOT_NUMBER_PROVIDER_TYPE Lnet/minecraft/class_2378; + FIELD field_28009 LOOT_NBT_PROVIDER_TYPE Lnet/minecraft/class_2378; + FIELD field_28010 LOOT_SCORE_PROVIDER_TYPE Lnet/minecraft/class_2378; METHOD (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;)V ARG 1 key ARG 2 lifecycle