From 7b2b1b7e4736fe75a4092d9858d8c5ebf043dd33 Mon Sep 17 00:00:00 2001 From: lukflug <47392064+lukflug@users.noreply.github.com> Date: Fri, 22 Jan 2021 20:09:41 +0100 Subject: [PATCH] Version 0.1.9 --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cec58f..6687bc6 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ shadowJar { } } ``` -If you're planning to use PanelStudio-MC you have to also add this (replace `mc12` by `mc16`, if using PanelStudio-MC16): +If you're planning to use PanelStudio-MC12 you have to also add this: ```groovy dependencies { compile("com.lukflug:panelstudio-mc12:0.1.8") @@ -63,6 +63,18 @@ shadowJar { } } ``` +If you're planning to use PanelStudio-MC16 you have to also add this: +```groovy +dependencies { + modCompile("com.lukflug:panelstudio-mc16:0.1.9") +} + +shadowJar { + dependencies { + include(dependency('com.lukflug:panelstudio-mc16')) + } +} +``` ### ClickGUI The precise way PanelStudio is used in an utility mod depends on the module and setting manager. However the implementation should roughly follow follwing scheme. The main ClickGUI class should extend `MinecraftGUI` (if using PanelStudio-MC): @@ -166,7 +178,7 @@ Toggleable hudToggle=new Toggleable() { ``` ## Reference -For a list of classes and methods, consult the [javadoc](https://lukflug.github.io/javadoc/panelstudio/0.1.8/overview-summary.html). For an example implementation, consult the GameSense source code. +For a list of classes and methods, consult the [javadoc](https://lukflug.github.io/javadoc/panelstudio/0.1.9/overview-summary.html). For an example implementation, consult the GameSense source code. ## Creating custom themes The components provided by PanelStudio use the methods in the `Renderer` interface to render. A `Theme` consist of three renderers: one for the single components (settings), one for the containers (modules) and one for the panels (categories). To see how themes are implemented, consult the package `com.lukflug.panelstudio.theme`.