Package dev.linwood.itemmods.config
Class MainConfig
- java.lang.Object
-
- dev.linwood.itemmods.config.MainConfig
-
public class MainConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description MainConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearIdentifiers()
@NotNull DatabaseConfig
getDatabaseConfig()
@Nullable Integer
getIdentifier(@NotNull PackObject packObject)
@Nullable Integer
getIdentifier(String name)
@NotNull Map<String,Integer>
getIdentifiers()
@NotNull String
getLocale()
void
removeIdentifier(@NotNull PackObject packObject)
void
removeIdentifier(String name)
void
setIdentifier(@NotNull PackObject packObject, @Nullable Integer integer)
void
setIdentifier(String name, @Nullable Integer integer)
void
setLocale(@NotNull String locale)
-
-
-
Method Detail
-
getDatabaseConfig
@NotNull public @NotNull DatabaseConfig getDatabaseConfig()
-
getIdentifier
@Nullable public @Nullable Integer getIdentifier(@NotNull @NotNull PackObject packObject)
-
setIdentifier
public void setIdentifier(@NotNull @NotNull PackObject packObject, @Nullable @Nullable Integer integer)
-
removeIdentifier
public void removeIdentifier(String name)
-
removeIdentifier
public void removeIdentifier(@NotNull @NotNull PackObject packObject)
-
clearIdentifiers
public void clearIdentifiers()
-
getLocale
@NotNull public @NotNull String getLocale()
-
setLocale
public void setLocale(@NotNull @NotNull String locale)
-
-