MCPcopy Create free account
hub / github.com/Teneted/Tenet / byValue

Method byValue

src/main/java/org/bukkit/map/MapCursor.java:281–288  ·  view source on GitHub ↗

Get a cursor by its internal value. @param value the value @return the matching type @deprecated Magic value

(byte value)

Source from the content-addressed store, hash-verified

279 * @deprecated Magic value
280 */
281 @Deprecated
282 @Nullable
283 public static Type byValue(byte value) {
284 for (Type t : values()) {
285 if (t.value == value) return t;
286 }
287 return null;
288 }
289 }
290
291}

Callers 1

getTypeMethod · 0.95

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected