Closed TechPro424 closed 1 year ago
package in.techpro424.groupmessages.config; import me.shedaniel.autoconfig.ConfigData; import me.shedaniel.autoconfig.annotation.Config; @Config(name = "group-messages") public class AutoConfig implements ConfigData { boolean toggleA = true; boolean toggleB = false; @Config.Gui.CollapsibleObject InnerStuff stuff = new InnerStuff(); @Config.Gui.Excluded InnerStuff invisibleStuff = new InnerStuff(); static class InnerStuff { int a = 0; int b = 1; } }
Getting an error saying that Config.Gui.CollapsibleObject cannot be resolved to a type and also Config.Gui.Excluded cannot be resolved to a type
Config.Gui.CollapsibleObject cannot be resolved to a type
Config.Gui.Excluded cannot be resolved to a type
My bad, I was supposed to use ConfigEntry.Gui.CollapsibleObject and ConfigEntry.Gui.Excluded respectively Sorry for taking up your time
ConfigEntry.Gui.CollapsibleObject
ConfigEntry.Gui.Excluded
Getting an error saying that
Config.Gui.CollapsibleObject cannot be resolved to a type
and alsoConfig.Gui.Excluded cannot be resolved to a type