MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / Compound

Class Compound

src/main/java/net/minecraft/nbt/JsonToNBT.java:393–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 static class Compound extends JsonToNBT.Any
394 {
395 protected java.util.List<JsonToNBT.Any> field_150491_b = Lists.<JsonToNBT.Any>newArrayList();
396
397 public Compound(String p_i45137_1_)
398 {
399 this.json = p_i45137_1_;
400 }
401
402 public NBTBase parse() throws NBTException
403 {
404 NBTTagCompound nbttagcompound = new NBTTagCompound();
405
406 for (JsonToNBT.Any jsontonbt$any : this.field_150491_b)
407 {
408 nbttagcompound.setTag(jsontonbt$any.json, jsontonbt$any.parse());
409 }
410
411 return nbttagcompound;
412 }
413 }
414
415 static class List extends JsonToNBT.Any
416 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected