From 2fc9b1b383cb78e3afbd9a1bb891485cb1c5ab64 Mon Sep 17 00:00:00 2001
From: Funboyy <72627658+Funboyy@users.noreply.github.com>
Date: Sat, 1 Jun 2024 22:15:26 +0200
Subject: [PATCH 1/2] updated Java version
---
docs/pages/addon/setup/first-steps.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/pages/addon/setup/first-steps.md b/docs/pages/addon/setup/first-steps.md
index dcd425c..4136365 100644
--- a/docs/pages/addon/setup/first-steps.md
+++ b/docs/pages/addon/setup/first-steps.md
@@ -1,5 +1,5 @@
First you'll need a Java IDE, as of now we only support
-IntelliJ IDEA. Then download JDK (Java Development Kit) 17 if you haven't already.
+IntelliJ IDEA. Then download JDK (Java Development Kit) 21 if you haven't already.
Differences between the "Community" and "Ultimate" edition:
From 12c11c348d50d6a37db22e97dc4e44cce54db177 Mon Sep 17 00:00:00 2001
From: Funboyy <72627658+Funboyy@users.noreply.github.com>
Date: Sat, 1 Jun 2024 22:21:01 +0200
Subject: [PATCH 2/2] removed deprecated annotation and added new annotation
---
docs/pages/addon/features/config.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/pages/addon/features/config.md b/docs/pages/addon/features/config.md
index 781da18..41be01a 100644
--- a/docs/pages/addon/features/config.md
+++ b/docs/pages/addon/features/config.md
@@ -109,7 +109,7 @@ You can create sections in your settings; you just have to add the annotation `@
If you want more structure in your settings but don't want to use Sections, you can create sub-settings that can be accessed via a button. Just create a new class, and let it inherit from `Config`. Add a field with the same type in your configuration (just the type, not a `ConfigProperty`) and create a new instance of said class. You might have noticed that you don't have to use the `AddonConfig` superclass for sub-settings. The `AddonConfig` class is required for your main configuration but not for sub-settings.
-If you want to display more than just the advanced button (the button that lets you access the sub-settings), add the `@ParentSwitch` annotation to the most important switch in your sub-settings.
+If you want to display more than just the advanced button (the button that lets you access the sub-settings), add the `@ShowSettingInParent` annotation to the most important switch in your sub-settings.
### Use Icons for Settings
@@ -164,7 +164,7 @@ These are some example files showing a few of the functions mentioned before.
``` java
public class ExampleSubSettings extends Config {
- @ParentSwitch
+ @ShowSettingInParent
@SpriteSlot(x = 7)
@SwitchSetting
private ConfigProperty enabled = new ConfigProperty<>(true);
@@ -303,4 +303,4 @@ todo: write, check chattime
### Create Custom Setting Widgets
-todo: write, check chattime
\ No newline at end of file
+todo: write, check chattime