Class ConfigBase
java.lang.Object
com.simibubi.create.foundation.config.ConfigBase
- Direct Known Subclasses:
CClient,CCommon,CCuriosities,CFluids,CKinetics,CLogistics,ConfigDrivenFeatureEntry,CRecipes,CSchematics,CServer,CStress,CTrains,CWorldGen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassConfigBase.ConfigEnum<T extends Enum<T>>classclassMarker for config subgroupsclassclassConfigBase.CValue<V,T extends net.minecraftforge.common.ForgeConfigSpec.ConfigValue<V>> protected static interfaceConfigBase.IValueProvider<V,T extends net.minecraftforge.common.ForgeConfigSpec.ConfigValue<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ConfigBase.CValue<?,?>> protected List<ConfigBase>protected intnet.minecraftforge.common.ForgeConfigSpec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigBase.ConfigBoolprotected <T extends Enum<T>>
ConfigBase.ConfigEnum<T>protected ConfigBase.ConfigFloatprotected ConfigBase.ConfigFloatabstract StringgetName()protected ConfigBase.ConfigGroupprotected ConfigBase.ConfigIntprotected ConfigBase.ConfigIntprotected <T extends ConfigBase>
TvoidonLoad()voidonReload()protected voidregisterAll(net.minecraftforge.common.ForgeConfigSpec.Builder builder)
-
Field Details
-
specification
public net.minecraftforge.common.ForgeConfigSpec specification -
depth
protected int depth -
allValues
-
children
-
-
Constructor Details
-
ConfigBase
public ConfigBase()
-
-
Method Details
-
registerAll
protected void registerAll(net.minecraftforge.common.ForgeConfigSpec.Builder builder) -
onLoad
public void onLoad() -
onReload
public void onReload() -
getName
-
b
-
f
protected ConfigBase.ConfigFloat f(float current, float min, float max, String name, String... comment) -
f
-
i
-
i
-
e
protected <T extends Enum<T>> ConfigBase.ConfigEnum<T> e(T defaultValue, String name, String... comment) -
group
-
nested
-