Klasse BundleConfigSpec
java.lang.Object
de.luckymcdev.foundryengine.common.bundle.config.BundleConfigSpec
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungnet.neoforged.neoforge.common.ModConfigSpecbuild()defineBoolean(String key, boolean defaultValue) defineBoolean(String key, boolean defaultValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param.defineDouble(String key, double defaultValue, double minValue, double maxValue) defineDouble(String key, double defaultValue, double minValue, double maxValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param.If you call this with comment = null, call the other method without the comment param.defineString(String key, String defaultValue) defineString(String key, String defaultValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param.
-
Konstruktordetails
-
BundleConfigSpec
public BundleConfigSpec()
-
-
Methodendetails
-
defineBoolean
public ConfigValue<Boolean> defineBoolean(String key, boolean defaultValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param. -
defineBoolean
-
defineInt
public ConfigValue<Integer> defineInt(String key, int defaultValue, int minValue, int maxValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param. -
defineInt
-
defineDouble
public ConfigValue<Double> defineDouble(String key, double defaultValue, double minValue, double maxValue, @Nullable String comment) If you call this with comment = null, call the other method without the comment param. -
defineDouble
public ConfigValue<Double> defineDouble(String key, double defaultValue, double minValue, double maxValue) -
defineString
If you call this with comment = null, call the other method without the comment param. -
defineString
-
build
@Internal public net.neoforged.neoforge.common.ModConfigSpec build()
-