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

Method getValue

src/main/java/net/minecraft/util/LazyLoadBase.java:8–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 private boolean isLoaded = false;
7
8 public T getValue()
9 {
10 if (!this.isLoaded)
11 {
12 this.isLoaded = true;
13 this.value = this.load();
14 }
15
16 return this.value;
17 }
18
19 protected abstract T load();
20}

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected