public class DatabaseGetter
extends java.lang.Object
| Constructor and Description |
|---|
DatabaseGetter() |
| Modifier and Type | Method and Description |
|---|---|
static Database |
getInstance(java.lang.String modID)
For get a Database object.
|
public static Database getInstance(java.lang.String modID)
modID - : The ID of your mod (it can't be null or an empty String).java.lang.IllegalArgumentException - If your mod ID is null, an empty String or if it contains ":".java.lang.NullPointerException - if no world is loaded.