mirror of
https://github.com/LegacyModdingMC/ChunkAPI.git
synced 2026-11-11 07:57:50 +00:00
reformat code
This commit is contained in:
10 files changed
+115
-75
No files matched your search
@@ -18,22 +18,28 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* This class is used to register ChunkDataManagers.
|
||||
*
|
||||
* @see ChunkDataManager
|
||||
*/
|
||||
public class ChunkDataRegistry {
|
||||
/**
|
||||
* Registers a ChunkDataManager. Only do this during the preInit phase.
|
||||
*
|
||||
* @param manager The manager to register.
|
||||
* @throws IllegalStateException If the registration stage is over.
|
||||
*
|
||||
* @throws IllegalStateException If the registration stage is over.
|
||||
* @throws IllegalArgumentException If the manager has a duplicate id.
|
||||
*/
|
||||
public static void registerDataManager(ChunkDataManager manager) throws IllegalStateException, IllegalArgumentException {
|
||||
public static void registerDataManager(ChunkDataManager manager)
|
||||
throws IllegalStateException, IllegalArgumentException {
|
||||
ChunkDataRegistryImpl.registerDataManager(manager);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables a ChunkDataManager. Only do this during the preInit phase.
|
||||
*
|
||||
* @param id The id of the manager to disable.
|
||||
*
|
||||
* @throws IllegalStateException If the disable stage is over.
|
||||
*/
|
||||
public static void disableDataManager(String domain, String id) throws IllegalStateException {
|
||||
|
||||
Reference in new issue
Block a user