MCPcopy Create free account
hub / github.com/PaperMC/Paper / GameMode

Method GameMode

paper-api/src/main/java/org/bukkit/GameMode.java:47–50  ·  view source on GitHub ↗
(final int value)

Source from the content-addressed store, hash-verified

45 // Paper end
46
47 private GameMode(final int value) {
48 this.value = value;
49 this.translationKey = "gameMode." + this.name().toLowerCase(java.util.Locale.ENGLISH); // Paper
50 }
51
52 /**
53 * Gets the mode value associated with this GameMode

Callers

nothing calls this directly

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected