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 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: