Class FireworkEventConfig

java.lang.Object
fr.alasdiablo.diolib.api.config.JsonConfig
fr.alasdiablo.diolib.config.FireworkEventConfig

public class FireworkEventConfig extends JsonConfig
  • Constructor Details

    • FireworkEventConfig

      public FireworkEventConfig()
  • Method Details

    • canContributorFirework

      public boolean canContributorFirework()
    • read

      protected void read(@NotNull @NotNull com.google.gson.JsonObject json)
      Description copied from class: JsonConfig
      Processes this json file
      Specified by:
      read in class JsonConfig
      Parameters:
      json - Json file need to be processes
    • write

      protected com.google.gson.JsonObject write()
      Description copied from class: JsonConfig
      Create the json object need to be written in the config directory
      Specified by:
      write in class JsonConfig
      Returns:
      JsonObject need to be written
    • getName

      protected String getName()
      Specified by:
      getName in class JsonConfig