Package dev.linwood.itemmods.config
Class MainConfig
- java.lang.Object
-
- dev.linwood.itemmods.config.MainConfig
-
public class MainConfig extends java.lang.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 java.lang.Integer
getIdentifier(@NotNull PackObject packObject)
@Nullable java.lang.Integer
getIdentifier(java.lang.String name)
@NotNull java.util.Map<java.lang.String,java.lang.Integer>
getIdentifiers()
@NotNull java.lang.String
getLocale()
void
removeIdentifier(@NotNull PackObject packObject)
void
removeIdentifier(java.lang.String name)
void
setIdentifier(@NotNull PackObject packObject, @Nullable java.lang.Integer integer)
void
setIdentifier(java.lang.String name, @Nullable java.lang.Integer integer)
void
setLocale(@NotNull java.lang.String locale)
-
-
-
Method Detail
-
getDatabaseConfig
@NotNull public @NotNull DatabaseConfig getDatabaseConfig()
-
getIdentifiers
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Integer> getIdentifiers()
-
getIdentifier
@Nullable public @Nullable java.lang.Integer getIdentifier(java.lang.String name)
-
getIdentifier
@Nullable public @Nullable java.lang.Integer getIdentifier(@NotNull @NotNull PackObject packObject)
-
setIdentifier
public void setIdentifier(java.lang.String name, @Nullable @Nullable java.lang.Integer integer)
-
setIdentifier
public void setIdentifier(@NotNull @NotNull PackObject packObject, @Nullable @Nullable java.lang.Integer integer)
-
removeIdentifier
public void removeIdentifier(java.lang.String name)
-
removeIdentifier
public void removeIdentifier(@NotNull @NotNull PackObject packObject)
-
clearIdentifiers
public void clearIdentifiers()
-
getLocale
@NotNull public @NotNull java.lang.String getLocale()
-
setLocale
public void setLocale(@NotNull @NotNull java.lang.String locale)
-
-