mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 22:06:09 +01:00
27 lines
630 B
Java
27 lines
630 B
Java
|
package com.simibubi.create;
|
||
|
|
||
|
import org.apache.commons.lang3.tuple.Pair;
|
||
|
|
||
|
import net.minecraftforge.common.ForgeConfigSpec;
|
||
|
|
||
|
public class CreateClientConfig {
|
||
|
|
||
|
public static final ForgeConfigSpec specification;
|
||
|
public static final CreateClientConfig instance;
|
||
|
|
||
|
static {
|
||
|
final Pair<CreateClientConfig, ForgeConfigSpec> specPair = new ForgeConfigSpec.Builder()
|
||
|
.configure(CreateClientConfig::new);
|
||
|
|
||
|
specification = specPair.getRight();
|
||
|
instance = specPair.getLeft();
|
||
|
}
|
||
|
|
||
|
CreateClientConfig(final ForgeConfigSpec.Builder builder) {
|
||
|
builder.comment("Client-only settings").push("client");
|
||
|
|
||
|
builder.pop();
|
||
|
}
|
||
|
|
||
|
}
|