Skip to content

Commit

Permalink
more renames
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jan 5, 2025
1 parent 849a095 commit c7a158d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static class ClientConfig {
public final ModConfigSpec.BooleanValue limitUpdates;
public final ModConfigSpec.IntValue workerThreads;

public final ForgeBackendConfig backendConfig;
public final NeoForgeBackendConfig backendConfig;

private ClientConfig(ModConfigSpec.Builder builder) {
backend = builder.comment("Select the backend to use.")
Expand All @@ -95,14 +95,14 @@ private ClientConfig(ModConfigSpec.Builder builder) {
builder.comment("Config options for Flywheel's built-in backends.")
.push("flw_backends");

backendConfig = new ForgeBackendConfig(builder);
backendConfig = new NeoForgeBackendConfig(builder);
}
}

public static class ForgeBackendConfig implements BackendConfig {
public static class NeoForgeBackendConfig implements BackendConfig {
public final ModConfigSpec.EnumValue<LightSmoothness> lightSmoothness;

public ForgeBackendConfig(ModConfigSpec.Builder builder) {
public NeoForgeBackendConfig(ModConfigSpec.Builder builder) {
lightSmoothness = builder.comment("How smooth flywheel's shader-based lighting should be. May have a large performance impact.")
.defineEnum("lightSmoothness", LightSmoothness.SMOOTH);
}
Expand Down

0 comments on commit c7a158d

Please sign in to comment.