MCPcopy Create free account
hub / github.com/ViaVersion/ViaProxy / load

Method load

src/main/java/net/raphimc/viaproxy/saves/impl/UISave.java:39–43  ·  view source on GitHub ↗
(JsonElement jsonElement)

Source from the content-addressed store, hash-verified

37 }
38
39 @Override
40 public void load(JsonElement jsonElement) {
41 this.values.clear();
42 for (Map.Entry<String, JsonElement> entry : jsonElement.getAsJsonObject().entrySet()) this.values.put(entry.getKey(), entry.getValue().getAsString());
43 }
44
45 @Override
46 public JsonElement save() {

Callers 2

I18nClass · 0.45
YamlConfigPatcherMethod · 0.45

Calls 2

putMethod · 0.80
getAsStringMethod · 0.80

Tested by

no test coverage detected