We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 709429b commit e857316Copy full SHA for e857316
docs/guis.md
@@ -63,3 +63,18 @@ This feature is **on its way** (90% done)
63
### Anvil and Sign Input Prompts
64
65
This feature is **on its way** (50% done)
66
+
67
+## Register your GUI
68
69
+```java
70
+public class MyPlugin {
71
+ public CaramelGui myGui;
72
73
+ public void onEnable() {
74
+ Caramel.getInstance().guis.add(myGui = new MyGui());
75
+ }
76
+ public void onDisable() {
77
+ Caramel.getInstance().guis.getGuis().remove(myGui);
78
79
+}
80
+```
0 commit comments