Class CriteriaData

java.lang.Object
eu.endercentral.crazy_advancements.save.CriteriaData

public class CriteriaData extends Object
Represents the Save Data for an Advancement saved by CriteriaType LIST
Author:
Axel
  • Constructor Details

    • CriteriaData

      public CriteriaData(NameKey name, List<String> criteria)
      Constructor for creating CriteriaData
      Parameters:
      name - The Unique Name of the Advancement
      criteria - The Criteria that has been awarded
  • Method Details

    • getName

      public NameKey getName()
      Gets the Unique Name of the Advancement
      Returns:
      The Unique Name
    • getCriteria

      public List<String> getCriteria()
      Gets the Criteria that has been awarded
      Returns:
      The Criteria