public class AdvancementEntityPredicateDeserializer extends Object
Modifier and Type | Field and Description |
---|---|
private Identifier |
advancementId |
private LootConditionManager |
conditionManager |
private Gson |
gson |
private static Logger |
LOGGER |
Constructor and Description |
---|
AdvancementEntityPredicateDeserializer(Identifier advancementId,
LootConditionManager conditionManager) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getAdvancementId() |
LootCondition[] |
loadConditions(JsonArray array,
String key,
LootContextType contextType) |
private static final Logger LOGGER
private final Identifier advancementId
private final LootConditionManager conditionManager
private final Gson gson
public AdvancementEntityPredicateDeserializer(Identifier advancementId, LootConditionManager conditionManager)
public final LootCondition[] loadConditions(JsonArray array, String key, LootContextType contextType)
public Identifier getAdvancementId()