aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2022-12-25 13:50:25 +0000
committerisXander <xander@isxander.dev>2022-12-25 13:50:41 +0000
commit3ea90fac0313a3042e90482bbfbc8c5b445c477f (patch)
tree20a225312b5f50e17e88ae2756d6ad2f3666f2d1 /src/client
parent0a98102cbe6138ac675a3ebe3cbc88602ff350c0 (diff)
downloadYetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.tar.gz
YetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.tar.bz2
YetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.zip
minor cleanup to impl classes + don't gen client&server run configs
Diffstat (limited to 'src/client')
-rw-r--r--src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java2
-rw-r--r--src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java4
-rw-r--r--src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java b/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java
index 5f9bdd0..6879e17 100644
--- a/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java
+++ b/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java
@@ -17,7 +17,7 @@ import java.util.Collection;
import java.util.List;
@ApiStatus.Internal
-public class ConfigCategoryImpl implements ConfigCategory {
+public final class ConfigCategoryImpl implements ConfigCategory {
private final Text name;
private final ImmutableList<OptionGroup> groups;
private final Text tooltip;
diff --git a/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java b/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java
index ba96941..1612a7e 100644
--- a/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java
+++ b/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java
@@ -15,7 +15,7 @@ import java.util.Collection;
import java.util.List;
@ApiStatus.Internal
-public class OptionGroupImpl implements OptionGroup {
+public final class OptionGroupImpl implements OptionGroup {
private final @NotNull Text name;
private final @NotNull Text tooltip;
private final ImmutableList<? extends Option<?>> options;
@@ -56,7 +56,7 @@ public class OptionGroupImpl implements OptionGroup {
}
@ApiStatus.Internal
- public static final class BuilderImpl implements Builder {
+ public static final class BuilderImpl implements OptionGroup.Builder {
private Text name = Text.empty();
private final List<Text> tooltipLines = new ArrayList<>();
private final List<Option<?>> options = new ArrayList<>();
diff --git a/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java b/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java
index 4ea623b..738b9e2 100644
--- a/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java
+++ b/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java
@@ -50,7 +50,7 @@ public final class PlaceholderCategoryImpl implements PlaceholderCategory {
}
@ApiStatus.Internal
- public static final class BuilderImpl implements Builder {
+ public static final class BuilderImpl implements PlaceholderCategory.Builder {
private Text name;
private final List<Text> tooltipLines = new ArrayList<>();