Package net.minecraft.loot
Class ConditionArrayParser
- java.lang.Object
-
- net.minecraft.loot.ConditionArrayParser
-
public class ConditionArrayParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocation
id
private static org.apache.logging.log4j.Logger
LOGGER
private com.google.gson.Gson
predicateGson
private LootPredicateManager
predicateManager
-
Constructor Summary
Constructors Constructor Description ConditionArrayParser(ResourceLocation p_i231549_1_, LootPredicateManager p_i231549_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootCondition[]
deserializeConditions(com.google.gson.JsonArray p_234050_1_, java.lang.String p_234050_2_, LootParameterSet p_234050_3_)
ResourceLocation
getAdvancementId()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
id
private final ResourceLocation id
-
predicateManager
private final LootPredicateManager predicateManager
-
predicateGson
private final com.google.gson.Gson predicateGson
-
-
Constructor Detail
-
ConditionArrayParser
public ConditionArrayParser(ResourceLocation p_i231549_1_, LootPredicateManager p_i231549_2_)
-
-
Method Detail
-
deserializeConditions
public final ILootCondition[] deserializeConditions(com.google.gson.JsonArray p_234050_1_, java.lang.String p_234050_2_, LootParameterSet p_234050_3_)
-
getAdvancementId
public ResourceLocation getAdvancementId()
-
-