Skip to content

Commit

Permalink
Map loot codecs (#3690)
Browse files Browse the repository at this point in the history
* Map loot codecs

* Rename AndFunction
  • Loading branch information
apple502j authored Oct 10, 2023
1 parent ff86a24 commit aa1f7c1
Show file tree
Hide file tree
Showing 70 changed files with 360 additions and 63 deletions.
11 changes: 0 additions & 11 deletions mappings/net/minecraft/loot/AndFunction.mapping

This file was deleted.

2 changes: 2 additions & 0 deletions mappings/net/minecraft/loot/LootDataType.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ CLASS net/minecraft/class_8490 net/minecraft/loot/LootDataType
METHOD method_51215 stream ()Ljava/util/stream/Stream;
METHOD method_51216 validator ()Lnet/minecraft/class_8490$class_8491;
METHOD method_51217 tableValidator ()Lnet/minecraft/class_8490$class_8491;
METHOD method_53267 (Lnet/minecraft/class_2960;Lcom/mojang/serialization/DataResult$PartialResult;)V
ARG 2 result
CLASS class_8491 Validator
METHOD run (Lnet/minecraft/class_58;Lnet/minecraft/class_8488;Ljava/lang/Object;)V
ARG 1 reporter
Expand Down
12 changes: 12 additions & 0 deletions mappings/net/minecraft/loot/LootPool.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ CLASS net/minecraft/class_55 net/minecraft/loot/LootPool
METHOD method_347 builder ()Lnet/minecraft/class_55$class_56;
METHOD method_349 validate (Lnet/minecraft/class_58;)V
ARG 1 reporter
METHOD method_53268 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_53269 (Lnet/minecraft/class_55;)Lnet/minecraft/class_5658;
ARG 0 pool
METHOD method_53270 (Lnet/minecraft/class_55;)Lnet/minecraft/class_5658;
ARG 0 pool
METHOD method_53271 (Lnet/minecraft/class_55;)Ljava/util/List;
ARG 0 pool
METHOD method_53272 (Lnet/minecraft/class_55;)Ljava/util/List;
ARG 0 pool
METHOD method_53273 (Lnet/minecraft/class_55;)Ljava/util/List;
ARG 0 pool
CLASS class_56 Builder
FIELD field_959 rolls Lnet/minecraft/class_5658;
FIELD field_960 entries Lcom/google/common/collect/ImmutableList$Builder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CLASS net/minecraft/class_8548 net/minecraft/loot/condition/AllOfLootCondition
FIELD field_45857 CODEC Lcom/mojang/serialization/Codec;
FIELD field_45858 INLINE_CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/util/List;)V
ARG 1 terms
METHOD method_51723 builder ([Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_8548$class_8549;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ CLASS net/minecraft/class_186 net/minecraft/loot/condition/AlternativeLootCondit
ARG 0 condition
METHOD method_53407 createCodec (Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
ARG 0 termsToCondition
METHOD method_53408 (Ljava/util/function/Function;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 1 instance
METHOD method_53409 (Lnet/minecraft/class_186;)Ljava/util/List;
ARG 0 condition
METHOD method_53410 (Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
METHOD method_53410 createInlineCodec (Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
ARG 0 termsToCondition
METHOD test (Ljava/lang/Object;)Z
ARG 1 context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
CLASS net/minecraft/class_212 net/minecraft/loot/condition/BlockStatePropertyLootCondition
FIELD comp_1876 block Lnet/minecraft/class_6880;
FIELD comp_1877 properties Ljava/util/Optional;
FIELD field_45868 CODEC Lcom/mojang/serialization/Codec;
METHOD comp_1876 block ()Lnet/minecraft/class_6880;
METHOD comp_1877 properties ()Ljava/util/Optional;
METHOD method_53417 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_53418 validateHasProperties (Lnet/minecraft/class_212;)Lcom/mojang/serialization/DataResult;
ARG 0 condition
METHOD method_53419 (Lnet/minecraft/class_212;Lnet/minecraft/class_4559;)Ljava/util/Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CLASS net/minecraft/class_190 net/minecraft/loot/condition/DamageSourcePropertiesLootCondition
FIELD comp_1870 predicate Ljava/util/Optional;
FIELD field_45862 CODEC Lcom/mojang/serialization/Codec;
METHOD comp_1870 predicate ()Ljava/util/Optional;
METHOD method_53412 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_837 builder (Lnet/minecraft/class_2022$class_2023;)Lnet/minecraft/class_5341$class_210;
ARG 0 builder
METHOD test (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
CLASS net/minecraft/class_215 net/minecraft/loot/condition/EntityPropertiesLootCondition
FIELD comp_1879 predicate Ljava/util/Optional;
FIELD comp_1880 entity Lnet/minecraft/class_47$class_50;
FIELD field_45871 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/util/Optional;Lnet/minecraft/class_47$class_50;)V
ARG 2 entity
METHOD comp_1879 predicate ()Ljava/util/Optional;
METHOD comp_1880 entity ()Lnet/minecraft/class_47$class_50;
METHOD method_15972 create (Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_5341$class_210;
ARG 0 entity
METHOD method_27865 builder (Lnet/minecraft/class_47$class_50;Lnet/minecraft/class_2048;)Lnet/minecraft/class_5341$class_210;
ARG 0 entity
ARG 1 predicate
METHOD method_53423 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_917 builder (Lnet/minecraft/class_47$class_50;Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_5341$class_210;
ARG 0 entity
ARG 1 predicateBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
CLASS net/minecraft/class_199 net/minecraft/loot/condition/EntityScoresLootCondition
FIELD comp_1871 scores Ljava/util/Map;
FIELD comp_1872 target Lnet/minecraft/class_47$class_50;
FIELD comp_1872 entity Lnet/minecraft/class_47$class_50;
FIELD field_45863 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/util/Map;Lnet/minecraft/class_47$class_50;)V
ARG 1 scores
ARG 2 target
METHOD comp_1871 scores ()Ljava/util/Map;
METHOD comp_1872 target ()Lnet/minecraft/class_47$class_50;
METHOD comp_1872 entity ()Lnet/minecraft/class_47$class_50;
METHOD method_32422 (Lnet/minecraft/class_42;)Ljava/util/stream/Stream;
ARG 0 operator
METHOD method_35557 create (Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_199$class_6163;
ARG 0 target
METHOD method_53413 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_865 entityScoreIsInRange (Lnet/minecraft/class_47;Lnet/minecraft/class_1297;Lnet/minecraft/class_269;Ljava/lang/String;Lnet/minecraft/class_42;)Z
ARG 1 context
ARG 2 entity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CLASS net/minecraft/class_207 net/minecraft/loot/condition/InvertedLootCondition
FIELD comp_1873 term Lnet/minecraft/class_5341;
FIELD field_45865 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Lnet/minecraft/class_5341;)V
ARG 1 term
METHOD comp_1873 term ()Lnet/minecraft/class_5341;
METHOD method_53414 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_889 builder (Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_5341$class_210;
ARG 0 term
METHOD test (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
CLASS net/minecraft/class_205 net/minecraft/loot/condition/LocationCheckLootCondition
FIELD comp_1874 predicate Ljava/util/Optional;
FIELD comp_1875 offset Lnet/minecraft/class_2338;
FIELD field_45866 CODEC Lcom/mojang/serialization/Codec;
FIELD field_45867 BLOCK_POS_CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_45867 OFFSET_CODEC Lcom/mojang/serialization/MapCodec;
METHOD <init> (Ljava/util/Optional;Lnet/minecraft/class_2338;)V
ARG 2 offset
METHOD comp_1874 predicate ()Ljava/util/Optional;
METHOD comp_1875 offset ()Lnet/minecraft/class_2338;
METHOD method_30151 builder (Lnet/minecraft/class_2090$class_2091;Lnet/minecraft/class_2338;)Lnet/minecraft/class_5341$class_210;
ARG 0 predicateBuilder
ARG 1 pos
METHOD method_53415 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_53416 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_884 builder (Lnet/minecraft/class_2090$class_2091;)Lnet/minecraft/class_5341$class_210;
ARG 0 predicateBuilder
METHOD test (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CLASS net/minecraft/class_217 net/minecraft/loot/condition/LootConditionTypes
METHOD method_925 matchingAny (Ljava/util/List;)Ljava/util/function/Predicate;
COMMENT Returns a predicate that returns true if any its element predicates
COMMENT return true, as if applied by logical or.
ARG 0 predicates
METHOD method_927 (Ljava/util/List;Ljava/lang/Object;)Z
ARG 1 operand
METHOD method_928 (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CLASS net/minecraft/class_223 net/minecraft/loot/condition/MatchToolLootCondition
FIELD comp_1884 predicate Ljava/util/Optional;
FIELD field_45875 CODEC Lcom/mojang/serialization/Codec;
METHOD comp_1884 predicate ()Ljava/util/Optional;
METHOD method_53426 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_945 builder (Lnet/minecraft/class_2073$class_2074;)Lnet/minecraft/class_5341$class_210;
ARG 0 predicate
METHOD test (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ CLASS net/minecraft/class_219 net/minecraft/loot/condition/RandomChanceLootCondi
METHOD <init> (F)V
ARG 1 chance
METHOD comp_1881 chance ()F
METHOD method_53424 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_932 builder (F)Lnet/minecraft/class_5341$class_210;
ARG 0 chance
METHOD test (Ljava/lang/Object;)Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CLASS net/minecraft/class_225 net/minecraft/loot/condition/RandomChanceWithLootingLootCondition
FIELD comp_1882 chance F
FIELD comp_1883 lootingMultiplier F
FIELD field_45874 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (FF)V
ARG 1 chance
ARG 2 lootingMultiplier
METHOD comp_1882 chance ()F
METHOD comp_1883 lootingMultiplier ()F
METHOD method_53425 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_953 builder (FF)Lnet/minecraft/class_5341$class_210;
ARG 0 chance
ARG 1 lootingMultiplier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ CLASS net/minecraft/class_4568 net/minecraft/loot/condition/ReferenceLootConditi
ARG 0 id
METHOD method_51230 (Lnet/minecraft/class_58;Lnet/minecraft/class_8488;Lnet/minecraft/class_5341;)V
ARG 3 predicate
METHOD method_53411 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD test (Ljava/lang/Object;)Z
ARG 1 context
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CLASS net/minecraft/class_182 net/minecraft/loot/condition/TableBonusLootCondition
FIELD comp_1867 enchantment Lnet/minecraft/class_6880;
FIELD comp_1868 chances Ljava/util/List;
FIELD field_45860 CODEC Lcom/mojang/serialization/Codec;
METHOD comp_1867 enchantment ()Lnet/minecraft/class_6880;
METHOD comp_1868 chances ()Ljava/util/List;
METHOD method_53405 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_800 builder (Lnet/minecraft/class_1887;[F)Lnet/minecraft/class_5341$class_210;
ARG 0 enchantment
ARG 1 chances
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
CLASS net/minecraft/class_4571 net/minecraft/loot/condition/TimeCheckLootCondition
FIELD comp_1885 period Ljava/util/Optional;
FIELD comp_1886 value Lnet/minecraft/class_42;
FIELD field_45876 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/util/Optional;Lnet/minecraft/class_42;)V
ARG 2 value
METHOD comp_1885 period ()Ljava/util/Optional;
METHOD comp_1886 value ()Lnet/minecraft/class_42;
METHOD method_35559 create (Lnet/minecraft/class_42;)Lnet/minecraft/class_4571$class_6164;
ARG 0 value
METHOD method_53427 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD test (Ljava/lang/Object;)Z
ARG 1 context
CLASS class_6164 Builder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
CLASS net/minecraft/class_5644 net/minecraft/loot/condition/ValueCheckLootCondition
FIELD comp_1887 value Lnet/minecraft/class_5658;
FIELD comp_1888 range Lnet/minecraft/class_42;
FIELD field_45877 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Lnet/minecraft/class_5658;Lnet/minecraft/class_42;)V
ARG 1 value
ARG 2 range
METHOD comp_1887 value ()Lnet/minecraft/class_5658;
METHOD comp_1888 range ()Lnet/minecraft/class_42;
METHOD method_35562 builder (Lnet/minecraft/class_5658;Lnet/minecraft/class_42;)Lnet/minecraft/class_5341$class_210;
ARG 0 value
ARG 1 range
METHOD method_53428 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD test (Ljava/lang/Object;)Z
ARG 1 context
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ CLASS net/minecraft/class_227 net/minecraft/loot/condition/WeatherCheckLootCondi
METHOD comp_1889 raining ()Ljava/util/Optional;
METHOD comp_1890 thundering ()Ljava/util/Optional;
METHOD method_35564 create ()Lnet/minecraft/class_227$class_6165;
METHOD method_53429 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD test (Ljava/lang/Object;)Z
ARG 1 context
CLASS class_6165 Builder
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/loot/context/LootContextTypes.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ CLASS net/minecraft/class_173 net/minecraft/loot/context/LootContextTypes
ARG 0 builder
METHOD method_51722 (Lnet/minecraft/class_176$class_177;)V
ARG 0 builder
METHOD method_53401 (Lnet/minecraft/class_2960;)Lcom/mojang/serialization/DataResult;
ARG 0 id
METHOD method_755 (Lnet/minecraft/class_176$class_177;)V
ARG 0 builder
METHOD method_756 (Lnet/minecraft/class_176$class_177;)V
Expand Down
8 changes: 8 additions & 0 deletions mappings/net/minecraft/loot/entry/CombinedEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ CLASS net/minecraft/class_69 net/minecraft/loot/entry/CombinedEntry
ARG 1 terms
ARG 2 conditions
METHOD method_394 combine (Ljava/util/List;)Lnet/minecraft/class_64;
ARG 1 terms
METHOD method_53279 createCodec (Lnet/minecraft/class_69$class_70;)Lcom/mojang/serialization/Codec;
ARG 0 factory
METHOD method_53280 (Lnet/minecraft/class_69$class_70;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 1 instance
METHOD method_53281 (Lnet/minecraft/class_69;)Ljava/util/List;
ARG 0 entry
CLASS class_70 Factory
METHOD create (Ljava/util/List;Ljava/util/List;)Lnet/minecraft/class_69;
ARG 1 terms
ARG 2 conditions
4 changes: 4 additions & 0 deletions mappings/net/minecraft/loot/entry/DynamicEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ CLASS net/minecraft/class_67 net/minecraft/loot/entry/DynamicEntry
ARG 2 quality
ARG 3 conditions
ARG 4 functions
METHOD method_53282 (Lnet/minecraft/class_67;)Lnet/minecraft/class_2960;
ARG 0 entry
METHOD method_53283 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
2 changes: 2 additions & 0 deletions mappings/net/minecraft/loot/entry/EmptyEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CLASS net/minecraft/class_73 net/minecraft/loot/entry/EmptyEntry
ARG 3 conditions
ARG 4 functions
METHOD method_401 builder ()Lnet/minecraft/class_85$class_86;
METHOD method_53284 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
4 changes: 4 additions & 0 deletions mappings/net/minecraft/loot/entry/ItemEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ CLASS net/minecraft/class_77 net/minecraft/loot/entry/ItemEntry
ARG 4 functions
METHOD method_411 builder (Lnet/minecraft/class_1935;)Lnet/minecraft/class_85$class_86;
ARG 0 drop
METHOD method_53285 (Lnet/minecraft/class_77;)Lnet/minecraft/class_6880;
ARG 0 entry
METHOD method_53286 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
10 changes: 10 additions & 0 deletions mappings/net/minecraft/loot/entry/LeafEntry.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
CLASS net/minecraft/class_85 net/minecraft/loot/entry/LeafEntry
FIELD field_31847 DEFAULT_WEIGHT I
FIELD field_31848 DEFAULT_QUALITY I
FIELD field_994 quality I
FIELD field_995 weight I
FIELD field_996 functions Ljava/util/List;
Expand All @@ -14,6 +16,14 @@ CLASS net/minecraft/class_85 net/minecraft/loot/entry/LeafEntry
ARG 2 context
METHOD method_434 builder (Lnet/minecraft/class_85$class_89;)Lnet/minecraft/class_85$class_86;
ARG 0 factory
METHOD method_53289 (Lnet/minecraft/class_85;)Ljava/util/List;
ARG 0 entry
METHOD method_53290 addLeafFields (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P4;
ARG 0 instance
METHOD method_53291 (Lnet/minecraft/class_85;)Ljava/lang/Integer;
ARG 0 entry
METHOD method_53292 (Lnet/minecraft/class_85;)Ljava/lang/Integer;
ARG 0 entry
CLASS class_86 Builder
FIELD field_1000 quality I
FIELD field_1001 weight I
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/loot/entry/LootPoolEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ CLASS net/minecraft/class_79 net/minecraft/loot/entry/LootPoolEntry
ARG 1 context
METHOD method_415 validate (Lnet/minecraft/class_58;)V
ARG 1 reporter
METHOD method_53287 addConditionsField (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
ARG 0 instance
METHOD method_53288 (Lnet/minecraft/class_79;)Ljava/util/List;
ARG 0 entry
CLASS class_80 Builder
FIELD field_990 conditions Lcom/google/common/collect/ImmutableList$Builder;
METHOD method_35513 sequenceEntry (Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_93$class_6152;
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/loot/entry/LootTableEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ CLASS net/minecraft/class_83 net/minecraft/loot/entry/LootTableEntry
ARG 4 functions
METHOD method_51222 (Lnet/minecraft/class_58;Lnet/minecraft/class_8488;Lnet/minecraft/class_52;)V
ARG 3 table
METHOD method_53293 (Lnet/minecraft/class_83;)Lnet/minecraft/class_2960;
ARG 0 entry
METHOD method_53294 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
6 changes: 6 additions & 0 deletions mappings/net/minecraft/loot/entry/TagEntry.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ CLASS net/minecraft/class_91 net/minecraft/loot/entry/TagEntry
ARG 2 lootChoiceExpander
METHOD method_449 (Ljava/util/function/Consumer;Lnet/minecraft/class_6880;)V
ARG 1 entry
METHOD method_53295 (Lnet/minecraft/class_91;)Ljava/lang/Boolean;
ARG 0 entry
METHOD method_53296 (Lnet/minecraft/class_91;)Lnet/minecraft/class_6862;
ARG 0 entry
METHOD method_53297 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
18 changes: 18 additions & 0 deletions mappings/net/minecraft/loot/function/AndLootFunction.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
CLASS net/minecraft/class_5641 net/minecraft/loot/function/AndLootFunction
FIELD field_27904 terms Ljava/util/List;
FIELD field_27905 applier Ljava/util/function/BiFunction;
FIELD field_45834 CODEC Lcom/mojang/serialization/Codec;
FIELD field_45835 INLINE_CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Ljava/util/List;)V
ARG 1 terms
METHOD apply (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ARG 1 stack
ARG 2 context
METHOD method_53351 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD method_53352 (Lnet/minecraft/class_5641;)Ljava/util/List;
ARG 0 function
METHOD method_53353 create (Ljava/util/List;)Lnet/minecraft/class_5641;
ARG 0 terms
METHOD method_53354 (Lnet/minecraft/class_5641;)Ljava/util/List;
ARG 0 function
Loading

0 comments on commit aa1f7c1

Please sign in to comment.