Lots of loot table work (#240)

* Lots of loot table work

* Rename both methods to .getThis to remove conflicts
This commit is contained in:
SquidDev 2018-12-05 14:09:44 +00:00 committed by Adrian Siekierka
parent 3219314eb4
commit 6cfe623cc2
56 changed files with 331 additions and 27 deletions

View File

@ -1,18 +0,0 @@
CLASS chi
CLASS chi$a
FIELD a world Luj;
METHOD a getWorld ()Luj;
CLASS chi$c EntityTarget
CLASS chi$c$a DeSerializer
METHOD a deserialize (Lcom/google/gson/stream/JsonReader;)Lchi$c;
METHOD a serialize (Lcom/google/gson/stream/JsonWriter;Lchi$c;)V
FIELD a THIS Lchi$c;
FIELD b KILLER Lchi$c;
FIELD c DIRECT_KILLER Lchi$c;
FIELD d KILLER_PLAYER Lchi$c;
FIELD e type Ljava/lang/String;
METHOD a fromString (Ljava/lang/String;)Lchi$c;
FIELD a random Ljava/util/Random;
FIELD c world Luj;
METHOD b getRandom ()Ljava/util/Random;
METHOD d getWorld ()Luj;

View File

@ -1,2 +0,0 @@
CLASS chn
METHOD a onResourceReload (Lwc;)V

View File

@ -1,2 +0,0 @@
CLASS cjf
FIELD a id Lpy;

View File

@ -30,6 +30,7 @@ CLASS net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer
FIELD ae commandManager Lcb;
FIELD af recipeManager Laxz;
FIELD ag tagManager Lxz;
FIELD aj lootManager Lchn;
FIELD ak advancementManager Lqk;
FIELD al commandFunctionManager Lql;
FIELD ap forceWorldUpgrade Z
@ -104,6 +105,7 @@ CLASS net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer
METHOD aK getCommandManager ()Lcb;
METHOD aM getRecipeManager ()Laxz;
METHOD aN getTagManager ()Lxz;
METHOD aP getLootManager ()Lchn;
METHOD aQ getGameRules ()Lbam;
METHOD aV getProfiler ()Laeg;
METHOD aa areCommandBlocksEnabled ()Z

View File

@ -0,0 +1,9 @@
CLASS chh net/minecraft/util/BoundedIntUnaryOperator
CLASS chh$a Serializer
FIELD a min Ljava/lang/Integer;
FIELD b max Ljava/lang/Integer;
FIELD c operator Ljava/util/function/IntUnaryOperator;
METHOD a createMin (I)Lchh;
METHOD a create (II)Lchh;
METHOD applyAsInt (I)I
METHOD b createMax (I)Lchh;

View File

@ -1,5 +1,5 @@
CLASS che net/minecraft/world/loot/BinomialLootTableRange
CLASS che$a DeSerializer
CLASS che$a Serializer
FIELD d n I
FIELD e p F
METHOD a getType ()Lpy;

View File

@ -0,0 +1,3 @@
CLASS cjm net/minecraft/world/loot/ConditionConsumerBuilder
METHOD b withCondition (Lcjt$a;)Ljava/lang/Object;
METHOD c getThis ()Ljava/lang/Object;

View File

@ -1,5 +1,5 @@
CLASS chg net/minecraft/world/loot/ConstantLootTableRange
CLASS chg$a DeSerializer
CLASS chg$a Serializer
FIELD d value I
METHOD a getType ()Lpy;
METHOD a create (I)Lchg;

View File

@ -0,0 +1,3 @@
CLASS cin net/minecraft/world/loot/FunctionConsumerBuilder
METHOD b withFunction (Lciq$a;)Ljava/lang/Object;
METHOD c getThis ()Ljava/lang/Object;

View File

@ -0,0 +1,6 @@
CLASS chz net/minecraft/world/loot/LootChoice
METHOD a getWeight (F)I
ARG 1 luck
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
ARG 1 consumer
ARG 2 luck

View File

@ -1,6 +1,7 @@
CLASS chs
CLASS chs net/minecraft/world/loot/LootChoiceProvider
FIELD a ALWAYS_FALSE Lchs;
FIELD b ALWAYS_TRUE Lchs;
METHOD a doExpand (Lchi;Ljava/util/function/Consumer;)Z
METHOD a and (Lchs;)Lchs;
METHOD b or (Lchs;)Lchs;
METHOD expand (Lchi;Ljava/util/function/Consumer;)Z

View File

@ -0,0 +1,12 @@
CLASS chn net/minecraft/world/loot/LootManager
FIELD a lootTablesLength I
FIELD b jsonLength I
FIELD c LOGGER Lorg/apache/logging/log4j/Logger;
FIELD d gson Lcom/google/gson/Gson;
FIELD e suppliers Ljava/util/Map;
FIELD f supplierNames Ljava/util/Set;
METHOD a getSupplierNames ()Ljava/util/Set;
METHOD a toJson (Lchl;)Lcom/google/gson/JsonElement;
METHOD a check (Lchm;Lpy;Lchl;Ljava/util/function/Function;)V
METHOD a getSupplier (Lpy;)Lchl;
METHOD a onResourceReload (Lwc;)V

View File

@ -0,0 +1,25 @@
CLASS chk net/minecraft/world/loot/LootPool
CLASS chk$a Builder
FIELD a entries Ljava/util/List;
FIELD b conditions Ljava/util/List;
FIELD c functions Ljava/util/List;
FIELD d rolls Lcho;
FIELD e range Lchq;
METHOD a withRolls (Lcho;)Lchk$a;
METHOD a withFunction (Lciq$a;)Lchk$a;
METHOD a withCondition (Lcjt$a;)Lchk$a;
METHOD b build ()Lchk;
METHOD b withFunction (Lciq$a;)Ljava/lang/Object;
METHOD b withCondition (Lcjt$a;)Ljava/lang/Object;
CLASS chk$b Serializer
FIELD a entries [Lcia;
FIELD b conditions [Lcjt;
FIELD c predicate Ljava/util/function/Predicate;
FIELD d functions [Lciq;
FIELD e javaFunctions Ljava/util/function/BiFunction;
FIELD f rolls Lcho;
FIELD g bonusRolls Lchq;
METHOD a create ()Lchk$a;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
METHOD b supplyOnce (Ljava/util/function/Consumer;Lchi;)V

View File

@ -0,0 +1,27 @@
CLASS chl net/minecraft/world/loot/LootSupplier
CLASS chl$a Builder
FIELD a pools Ljava/util/List;
FIELD b functions Ljava/util/List;
FIELD c type Lcjg;
METHOD a withPool (Lchk$a;)Lchl$a;
METHOD a withFunction (Lciq$a;)Lchl$a;
METHOD a withType (Lcjg;)Lchl$a;
METHOD b create ()Lchl;
METHOD b withFunction (Lciq$a;)Ljava/lang/Object;
CLASS chl$b Serializer
FIELD a EMPTY Lchl;
FIELD b GENERIC Lcjg;
FIELD c LOGGER Lorg/apache/logging/log4j/Logger;
FIELD d type Lcjg;
FIELD e pools [Lchk;
FIELD f functions [Lciq;
FIELD g combinedFunction Ljava/util/function/BiFunction;
METHOD a getType ()Lcjg;
METHOD a supplyInventory (Laev;Lchi;)V
METHOD a getFreeSlots (Laev;Ljava/util/Random;)Ljava/util/List;
METHOD a getDrops (Lchi;)Ljava/util/List;
METHOD a drop (Lchi;Ljava/util/function/Consumer;)V
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a limitedConsumer (Ljava/util/function/Consumer;)Ljava/util/function/Consumer;
METHOD b create ()Lchl$a;
METHOD b dropLimited (Lchi;Ljava/util/function/Consumer;)V

View File

@ -0,0 +1,4 @@
CLASS chp net/minecraft/world/loot/LootTableRanges
FIELD a types Ljava/util/Map;
METHOD a serialize (Lcho;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
METHOD a deserialize (Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lcho;

View File

@ -0,0 +1,8 @@
CLASS chm net/minecraft/world/loot/LootTableReporter
FIELD a messages Lcom/google/common/collect/Multimap;
FIELD b nameFactory Ljava/util/function/Supplier;
FIELD c name Ljava/lang/String;
METHOD a getMessages ()Lcom/google/common/collect/Multimap;
METHOD a report (Ljava/lang/String;)V
METHOD b getContext ()Ljava/lang/String;
METHOD b makeChild (Ljava/lang/String;)Lchm;

View File

@ -1,11 +1,12 @@
CLASS chq net/minecraft/world/loot/UniformLootTableRange
CLASS chq$a DeSerializer
CLASS chq$a Serializer
METHOD a serialize (Lchq;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
METHOD a deserialize (Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lchq;
FIELD d min F
FIELD e max F
METHOD <init> (FF)V
ARG 1 min
ARG 2 max
METHOD a getType ()Lpy;
METHOD a contains (I)Z
METHOD a next (Ljava/util/Random;)I

View File

@ -6,4 +6,5 @@ CLASS cjk net/minecraft/world/loot/condition/AlternativeLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a terms [Lcjt;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a or ([Lcjt$a;)Lcjk$a;

View File

@ -7,3 +7,4 @@ CLASS cjs net/minecraft/world/loot/condition/BlockStatePropertyLootCondition
FIELD a block Lbfr;
FIELD b properties Ljava/util/Map;
FIELD c predicate Ljava/util/function/Predicate;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -3,3 +3,4 @@ CLASS cjn net/minecraft/world/loot/condition/DamageSourcePropertiesLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a predicate Laj;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -4,3 +4,4 @@ CLASS cjv net/minecraft/world/loot/condition/EntityPropertiesLootCondition
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a predicate Las;
FIELD b entity Lchi$c;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -6,3 +6,4 @@ CLASS cjo net/minecraft/world/loot/condition/EntityScoresLootCondition
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a scores Ljava/util/Map;
FIELD b target Lchi$c;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -3,3 +3,7 @@ CLASS cjq net/minecraft/world/loot/condition/InvertedLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a term Lcjt;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a test (Lchi;)Z
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a create (Lcjt$a;)Lcjt$a;

View File

@ -3,3 +3,4 @@ CLASS cjw net/minecraft/world/loot/condition/KilledByPlayerLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a INSTANCE Lcjw;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -3,3 +3,4 @@ CLASS cjz net/minecraft/world/loot/condition/MatchToolLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a predicate Laz;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -8,3 +8,4 @@ CLASS cjy net/minecraft/world/loot/condition/RandomChanceWithLootingLootConditio
FIELD b lootingMultiplier F
METHOD <init> (FF)V
ARG 1 chance
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -3,3 +3,4 @@ CLASS cjp net/minecraft/world/loot/condition/SurvivesExplosionLootCondition
METHOD a toJson (Lcom/google/gson/JsonObject;Lcjt;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a INSTANCE Lcjp;
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -4,3 +4,4 @@ CLASS cjl net/minecraft/world/loot/condition/TableBonusLootCondition
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lcjt;
FIELD a enchantment Layt;
FIELD b chances [F
METHOD a getRequiredParameters ()Ljava/util/Set;

View File

@ -0,0 +1,48 @@
CLASS chi net/minecraft/world/loot/context/LootContext
CLASS chi$a Builder
FIELD a world Luj;
FIELD b parameters Ljava/util/Map;
FIELD c drops Ljava/util/Map;
FIELD d random Ljava/util/Random;
FIELD e luck F
METHOD a getWorld ()Luj;
METHOD a setLuck (F)Lchi$a;
METHOD a setRandom (J)Lchi$a;
METHOD a setRandom (JLjava/util/Random;)Lchi$a;
METHOD a get (Lcjf;)Ljava/lang/Object;
METHOD a put (Lcjf;Ljava/lang/Object;)Lchi$a;
METHOD a build (Lcjg;)Lchi;
METHOD a setRandom (Ljava/util/Random;)Lchi$a;
METHOD a putDrop (Lpy;Lchi$b;)Lchi$a;
METHOD b getNullable (Lcjf;)Ljava/lang/Object;
METHOD b putNullable (Lcjf;Ljava/lang/Object;)Lchi$a;
CLASS chi$b Dropper
METHOD add (Lchi;Ljava/util/function/Consumer;)V
CLASS chi$c EntityTarget
CLASS chi$c$a Serializer
METHOD a deserialize (Lcom/google/gson/stream/JsonReader;)Lchi$c;
METHOD a serialize (Lcom/google/gson/stream/JsonWriter;Lchi$c;)V
FIELD a THIS Lchi$c;
FIELD b KILLER Lchi$c;
FIELD c DIRECT_KILLER Lchi$c;
FIELD d KILLER_PLAYER Lchi$c;
FIELD e type Ljava/lang/String;
FIELD f identifier Lcjf;
METHOD a getIdentifier ()Lcjf;
METHOD a fromString (Ljava/lang/String;)Lchi$c;
FIELD a random Ljava/util/Random;
FIELD b luck F
FIELD c world Luj;
FIELD d manager Lchn;
FIELD e suppliers Ljava/util/Set;
FIELD f parameters Ljava/util/Map;
FIELD g drops Ljava/util/Map;
METHOD a getLootManager ()Lchn;
METHOD a addDrop (Lchl;)Z
METHOD a hasParameter (Lcjf;)Z
METHOD a drop (Lpy;Ljava/util/function/Consumer;)V
METHOD b getRandom ()Ljava/util/Random;
METHOD b removeDrop (Lchl;)V
METHOD c getLuck ()F
METHOD c get (Lcjf;)Ljava/lang/Object;
METHOD d getWorld ()Luj;

View File

@ -0,0 +1,15 @@
CLASS cjg net/minecraft/world/loot/context/LootContextType
CLASS cjg$a Builder
FIELD a required Ljava/util/Set;
FIELD b allowed Ljava/util/Set;
METHOD a build ()Lcjg;
METHOD a require (Lcjf;)Lcjg$a;
METHOD b allow (Lcjf;)Lcjg$a;
FIELD a required Ljava/util/Set;
FIELD b allowed Ljava/util/Set;
METHOD <init> (Ljava/util/Set;Ljava/util/Set;)V
ARG 1 required
ARG 2 allowed
METHOD a getRequired ()Ljava/util/Set;
METHOD a check (Lchm;Lchj;)V
METHOD b getAllowed ()Ljava/util/Set;

View File

@ -1,4 +1,4 @@
CLASS cjh
CLASS cjh net/minecraft/world/loot/context/LootContextTypes
FIELD a EMPTY Lcjg;
FIELD b CHEST Lcjg;
FIELD c FISHING Lcjg;

View File

@ -0,0 +1,3 @@
CLASS cjf net/minecraft/world/loot/context/Parameter
FIELD a id Lpy;
METHOD a getIdentifier ()Lpy;

View File

@ -0,0 +1,3 @@
CLASS chj net/minecraft/world/loot/context/ParameterConsumer
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V

View File

@ -0,0 +1,2 @@
CLASS cji net/minecraft/world/loot/context/Parameters
METHOD a register (Ljava/lang/String;)Lcjf;

View File

@ -0,0 +1,9 @@
CLASS chr net/minecraft/world/loot/entry/AlternativeEntry
CLASS chr$a Builder
FIELD a children Ljava/util/List;
METHOD a withChild (Lcia$a;)Lchr$a;
METHOD b build ()Lcia;
METHOD d getThisBuilder ()Lcia$a;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a combine ([Lchs;)Lchs;
METHOD a create ([Lcia$a;)Lchr$a;

View File

@ -0,0 +1,14 @@
CLASS cht net/minecraft/world/loot/entry/CombinedEntry
CLASS cht$1
CLASS cht$a Factory
METHOD create ([Lcia;[Lcjt;)Lcht;
CLASS cht$b Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcht;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcht;
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcia;
FIELD c children [Lcia;
FIELD d predicate Lchs;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a createSerializer (Lpy;Ljava/lang/Class;Lcht$a;)Lcht$b;
METHOD a combine ([Lchs;)Lchs;

View File

@ -0,0 +1,8 @@
CLASS chu net/minecraft/world/loot/entry/DynamicEntry
CLASS chu$a Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcib;Lcom/google/gson/JsonSerializationContext;)V
FIELD c instance Lpy;
FIELD h name Lpy;
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
METHOD a create (Lpy;)Lcib$a;

View File

@ -0,0 +1,4 @@
CLASS chv net/minecraft/world/loot/entry/EmptyEntry
CLASS chv$a Serializer
METHOD a Serializer ()Lcib$a;
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V

View File

@ -0,0 +1,2 @@
CLASS chw net/minecraft/world/loot/entry/GroupEntry
METHOD a combine ([Lchs;)Lchs;

View File

@ -0,0 +1,6 @@
CLASS chx net/minecraft/world/loot/entry/ItemEntry
CLASS chx$a Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcib;Lcom/google/gson/JsonSerializationContext;)V
FIELD c item Lavn;
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V

View File

@ -0,0 +1,37 @@
CLASS cib net/minecraft/world/loot/entry/LeafEntry
CLASS cib$1
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
ARG 1 consumer
ARG 2 luck
CLASS cib$a Builder
FIELD a weight I
FIELD b quality I
FIELD c functions Ljava/util/List;
METHOD a getFunctions ()[Lciq;
METHOD a setWeight (I)Lcib$a;
METHOD a withFunction (Lciq$a;)Lcib$a;
METHOD b setQuality (I)Lcib$a;
METHOD b withFunction (Lciq$a;)Ljava/lang/Object;
CLASS cib$b BasicBuilder
FIELD c factory Lcib$d;
METHOD b build ()Lcia;
METHOD d getThisBuilder ()Lcia$a;
METHOD g getThis ()Lcib$b;
CLASS cib$c Choice
METHOD a getWeight (F)I
ARG 1 luck
CLASS cib$d Factory
METHOD build (II[Lcjt;[Lciq;)Lcib;
CLASS cib$e Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcib;Lcom/google/gson/JsonSerializationContext;)V
METHOD a fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcib;
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcia;
FIELD c compiledFunctions Ljava/util/function/BiFunction;
FIELD d weight I
FIELD f quality I
FIELD g functions [Lciq;
FIELD h choice Lchz;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a create (Lcib$d;)Lcib$a;
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V

View File

@ -0,0 +1,6 @@
CLASS chy net/minecraft/world/loot/entry/LootEntries
CLASS chy$a Serializer
METHOD a getSerializer (Ljava/lang/Class;)Lcia$b;
FIELD a idSerializers Ljava/util/Map;
FIELD b classSerializers Ljava/util/Map;
METHOD a register (Lcia$b;)V

View File

@ -0,0 +1,20 @@
CLASS cia net/minecraft/world/loot/entry/LootEntry
CLASS cia$a Builder
FIELD a children Ljava/util/List;
METHOD a withChild (Lcia$a;)Lchr$a;
METHOD a withCondition (Lcjt$a;)Lcia$a;
METHOD b build ()Lcia;
METHOD b withCondition (Lcjt$a;)Ljava/lang/Object;
METHOD e getThis ()Lcia$a;
METHOD f getConditions ()[Lcjt;
CLASS cia$b Serializer
FIELD a id Lpy;
FIELD b type Ljava/lang/Class;
METHOD a getIdentifier ()Lpy;
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD b getType ()Ljava/lang/Class;
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcia;
FIELD c conditionPredicate Ljava/util/function/Predicate;
FIELD e conditions [Lcjt;
METHOD a test (Lchi;)Z
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V

View File

@ -0,0 +1,7 @@
CLASS cic net/minecraft/world/loot/entry/LootTableEntry
CLASS cic$a Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcib;Lcom/google/gson/JsonSerializationContext;)V
FIELD c id Lpy;
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V

View File

@ -0,0 +1,2 @@
CLASS cid net/minecraft/world/loot/entry/SequenceEntry
METHOD a combine ([Lchs;)Lchs;

View File

@ -0,0 +1,13 @@
CLASS cie net/minecraft/world/loot/entry/TagEntry
CLASS cie$1
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
ARG 1 consumer
ARG 2 luck
CLASS cie$a Serializer
METHOD a toJson (Lcom/google/gson/JsonObject;Lcia;Lcom/google/gson/JsonSerializationContext;)V
METHOD a toJson (Lcom/google/gson/JsonObject;Lcib;Lcom/google/gson/JsonSerializationContext;)V
FIELD c name Lxx;
FIELD h expand Z
METHOD a doExpand (Lchi;Ljava/util/function/Consumer;)Z
METHOD a drop (Ljava/util/function/Consumer;Lchi;)V
METHOD b create (Lxx;)Lcib$a;

View File

@ -29,6 +29,7 @@ CLASS cig net/minecraft/world/loot/function/ApplyBonusLootFunction
FIELD a FACTORIES Ljava/util/Map;
FIELD c enchantment Layt;
FIELD d formula Lcig$b;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD a oreDrops (Layt;)Lcip$a;

View File

@ -3,6 +3,7 @@ CLASS cip net/minecraft/world/loot/function/ConditionalLootFunction
FIELD a conditionList Ljava/util/List;
METHOD a withCondition (Lcjt$a;)Lcip$a;
ARG 0 builder
METHOD b withCondition (Lcjt$a;)Ljava/lang/Object;
METHOD g getConditions ()[Lcjt;
CLASS cip$b Joiner
FIELD a joiner Ljava/util/function/Function;
@ -18,4 +19,6 @@ CLASS cip net/minecraft/world/loot/function/ConditionalLootFunction
FIELD b conditions [Lcjt;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V
METHOD a create (Ljava/util/function/Function;)Lcip$a;
METHOD b apply (Lavs;Lchi;)Lavs;

View File

@ -9,6 +9,7 @@ CLASS cii net/minecraft/world/loot/function/CopyNameLootFunction
METHOD a toJson (Lcom/google/gson/JsonObject;Lciq;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcip;
FIELD a source Lcii$a;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD a create (Lcii$a;)Lcip$a;

View File

@ -27,6 +27,7 @@ CLASS cil net/minecraft/world/loot/function/ExplorationMapLootFunction
FIELD f zoom B
FIELD g searchRadius I
FIELD h skipExistingChunks Z
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD b create ()Lcil$a;

View File

@ -4,5 +4,6 @@ CLASS cim net/minecraft/world/loot/function/FillPlayerHeadLootFunction
METHOD a toJson (Lcom/google/gson/JsonObject;Lciq;Lcom/google/gson/JsonSerializationContext;)V
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcip;
FIELD a entity Lchi$c;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack

View File

@ -9,5 +9,6 @@ CLASS cis net/minecraft/world/loot/function/LootingEnchantLootFunction
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcip;
FIELD a range Lchq;
FIELD c amount I
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack

View File

@ -8,3 +8,4 @@ CLASS ciu net/minecraft/world/loot/function/SetContentsLootFunction
METHOD b fromJson (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lcjt;)Lcip;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V

View File

@ -7,3 +7,4 @@ CLASS civ net/minecraft/world/loot/function/SetLootTableLootFunction
FIELD c seed J
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack
METHOD a check (Lchm;Ljava/util/function/Function;Ljava/util/Set;Lcjg;)V

View File

@ -6,5 +6,6 @@ CLASS ciy net/minecraft/world/loot/function/SetLoreLootFunction
FIELD a replace Z
FIELD c lore Ljava/util/List;
FIELD d entity Lchi$c;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack

View File

@ -6,5 +6,6 @@ CLASS ciz net/minecraft/world/loot/function/SetNameLootFunction
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD c name Lja;
FIELD d entityTarget Lchi$c;
METHOD a getRequiredParameters ()Ljava/util/Set;
METHOD a process (Lavs;Lchi;)Lavs;
ARG 1 stack