text in config
This commit is contained in:
parent
ed9eda1612
commit
4cdd0e817b
|
@ -5,20 +5,14 @@ import me.shedaniel.autoconfig.annotation.Config;
|
|||
import me.shedaniel.autoconfig.annotation.ConfigEntry;
|
||||
import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment;
|
||||
|
||||
@Config(name = "MCPHT Config")
|
||||
@Config(name = "mcphtconf")
|
||||
public class MCPHTConfig implements ConfigData {
|
||||
@Comment("Dummy Button")
|
||||
public NetworkTrafficBarScheme netbar = new NetworkTrafficBarScheme();
|
||||
|
||||
public static class NetworkTrafficBarScheme {
|
||||
public enum NetworkTrafficEnum {
|
||||
None,
|
||||
All,
|
||||
Client,
|
||||
Server,
|
||||
}
|
||||
public NetworkTrafficEnum state = NetworkTrafficEnum.None;
|
||||
@ConfigEntry.Category("Networking")
|
||||
@ConfigEntry.Gui.CollapsibleObject
|
||||
@Comment("Foo")
|
||||
NetworkLoggingScheme networkLogging = new NetworkLoggingScheme();
|
||||
static class NetworkLoggingScheme {
|
||||
boolean RX = false;
|
||||
boolean TX = false;
|
||||
}
|
||||
@Comment("How much should network traffic be logged")
|
||||
public int state = 0;
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 453 B |
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"text.autoconfig.mcphtconf.option.networkLogging": "Network Packet Logging",
|
||||
"text.autoconfig.mcphtconf.option.networkLogging.RX": "RX",
|
||||
"text.autoconfig.mcphtconf.option.networkLogging.TX": "TX"
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
"issues": "https://git.cscherr.de/PlexSheep/mcpht/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"icon": "assets/mcpht/icon.png",
|
||||
"icon": "icon.png",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": ["de.cscherr.mcpht.Mcpht"],
|
||||
|
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Loading…
Reference in New Issue