Port to java 16 and MC 1.17
This commit is contained in:
@@ -3,8 +3,8 @@ package draylar.omegatest;
|
||||
import draylar.omegaconfig.OmegaConfig;
|
||||
import draylar.omegatest.config.ClassConfigTest;
|
||||
import draylar.omegatest.config.NestedConfigTest;
|
||||
import draylar.omegatest.config.StructuresConfigTest;
|
||||
import draylar.omegatest.config.SimpleConfigTest;
|
||||
import draylar.omegatest.config.StructuresConfigTest;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
||||
public class OmegaTestMain implements ModInitializer {
|
||||
|
||||
@@ -19,12 +19,6 @@ public class SimpleConfigTest implements Config {
|
||||
@Comment(value = "This is an inner static class.")
|
||||
public Test test = new Test();
|
||||
|
||||
public static class Test {
|
||||
|
||||
@Comment(value = "This is the value inside the class!")
|
||||
public boolean innerTest = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "test-config";
|
||||
@@ -34,4 +28,10 @@ public class SimpleConfigTest implements Config {
|
||||
public @Nullable String getModid() {
|
||||
return "omega-config-test";
|
||||
}
|
||||
|
||||
public static class Test {
|
||||
|
||||
@Comment(value = "This is the value inside the class!")
|
||||
public boolean innerTest = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,11 @@ public class StructuresConfigTest implements Config {
|
||||
return "mostructures-config-v2";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getExtension() {
|
||||
return "json5";
|
||||
}
|
||||
|
||||
public static class Features {
|
||||
@Comment("Airplanes & Air Balloons")
|
||||
public boolean air_features = true;
|
||||
@@ -123,9 +128,4 @@ public class StructuresConfigTest implements Config {
|
||||
public int killer_bunny_castle_seperation = 25;
|
||||
public int killer_bunny_castle_spacing = 50;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getExtension() {
|
||||
return "json5";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user