Class BlockDataConfigWrapper

java.lang.Object
me.mrCookieSlime.CSCoreLibPlugin.Configuration.Config
com.xzavier0722.mc.plugin.slimefun4.storage.controller.BlockDataConfigWrapper

@Deprecated public class BlockDataConfigWrapper extends Config
Deprecated.
  • Constructor Details

    • BlockDataConfigWrapper

      public BlockDataConfigWrapper(SlimefunBlockData blockData)
      Deprecated.
  • Method Details

    • save

      public void save()
      Deprecated.
      Description copied from class: Config
      Saves the Config Object to its File
      Overrides:
      save in class Config
    • createFile

      public void createFile()
      Deprecated.
      Description copied from class: Config
      Recreates the File of this Config
      Overrides:
      createFile in class Config
    • getString

      public String getString(@Nonnull String path)
      Deprecated.
      Description copied from class: Config
      Returns the String at the specified Path
      Overrides:
      getString in class Config
      Parameters:
      path - The path in the Config File
      Returns:
      The String at that Path
    • getKeys

      @Nonnull public Set<String> getKeys()
      Deprecated.
      Description copied from class: Config
      Returns all Paths in this Config
      Overrides:
      getKeys in class Config
      Returns:
      All Paths in this Config
    • getKeys

      @Nonnull public Set<String> getKeys(@Nonnull String path)
      Deprecated.
      Description copied from class: Config
      Returns all Sub-Paths in this Config
      Overrides:
      getKeys in class Config
      Parameters:
      path - The path in the Config File
      Returns:
      All Sub-Paths of the specified Path
    • getFile

      public File getFile()
      Deprecated.
      Description copied from class: Config
      Returns the File the Config is handling
      Overrides:
      getFile in class Config
      Returns:
      The File this Config is handling
    • contains

      public boolean contains(@Nonnull String path)
      Deprecated.
      Description copied from class: Config
      Checks whether the Config contains the specified Path
      Overrides:
      contains in class Config
      Parameters:
      path - The path in the Config File
      Returns:
      True/false
    • getValue

      @Nullable public Object getValue(@Nonnull String path)
      Deprecated.
      Description copied from class: Config
      Returns the Object at the specified Path
      Overrides:
      getValue in class Config
      Parameters:
      path - The path in the Config File
      Returns:
      The Value at that Path
    • getConfiguration

      public org.bukkit.configuration.file.FileConfiguration getConfiguration()
      Deprecated.
      Description copied from class: Config
      Converts this Config Object into a plain FileConfiguration Object
      Overrides:
      getConfiguration in class Config
      Returns:
      The converted FileConfiguration Object
    • setDefaultValue

      public void setDefaultValue(@Nonnull String path, @Nullable Object value)
      Deprecated.
      Description copied from class: Config
      Sets the Value for the specified Path (IF the Path does not yet exist)
      Overrides:
      setDefaultValue in class Config
      Parameters:
      path - The path in the Config File
      value - The Value for that Path
    • setValue

      public void setValue(@Nonnull String path, Object value)
      Deprecated.
      Description copied from class: Config
      Sets the Value for the specified Path
      Overrides:
      setValue in class Config
      Parameters:
      path - The path in the Config File
      value - The Value for that Path
    • save

      public void save(@Nonnull File file)
      Deprecated.
      Description copied from class: Config
      Saves the Config Object to a File
      Overrides:
      save in class Config
      Parameters:
      file - The File you are saving this Config to
    • reload

      public void reload()
      Deprecated.
      Description copied from class: Config
      Reloads the Configuration File
      Overrides:
      reload in class Config