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

Method translationKey

paper-api/src/main/java/org/bukkit/Difficulty.java:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54 // Paper start
55 @Override
56 public @org.jetbrains.annotations.NotNull String translationKey() {
57 return "options.difficulty." + this.name().toLowerCase(java.util.Locale.ENGLISH);
58 }
59 // Paper end
60 /**
61 * Gets the Difficulty represented by the specified value

Callers

nothing calls this directly

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected