Skip to content

Commit

Permalink
feat: more config lang gen methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Oct 24, 2024
1 parent 7e38447 commit 977921f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,18 @@ public void addAccessoriesIdentifier(String key, String name) {
this.add("accessories.slot." + this.id + "." + key, name);
}

public void addServerConfig(String prefix, String name) {
this.add("config." + this.id + ".server." + prefix, name);
}

public void addCommonConfig(String prefix, String name) {
this.add("config." + this.id + ".common." + prefix, name);
}

public void addClientConfig(String prefix, String name) {
this.add("config." + this.id + ".client." + prefix, name);
}

public void addServerConfig(String prefix, String key, String name) {
this.add("config." + this.id + ".server." + prefix + "." + key, name);
}
Expand Down

0 comments on commit 977921f

Please sign in to comment.