Package | Description |
---|---|
com.chrismin13.additionsapi.files |
Modifier and Type | Method and Description |
---|---|
DataFile |
DataFile.addCustomItemStack(CustomItemStack cStack)
Converts a
CustomItemStack to a StorageCustomItem to be
saved in the data.yml file. |
DataFile |
DataFile.addStorageCustomItem(StorageCustomItem sItem)
Add a new
StorageCustomItem to be saved in the data.yml file. |
static DataFile |
DataFile.getInstance() |
DataFile |
DataFile.reloadData()
Reloads the Data File, updating any changes.
|
DataFile |
DataFile.saveData()
Saves the Data File.
|
DataFile |
DataFile.setup()
This method is run when the plugin is enabled and when reloading.
|