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

Method getById

src/main/java/org/bukkit/Effect.java:256–260  ·  view source on GitHub ↗

Gets the Effect associated with the given ID. @param id ID of the Effect to return @return Effect with the given ID @deprecated Magic value

(int id)

Source from the content-addressed store, hash-verified

254 * @deprecated Magic value
255 */
256 @Deprecated
257 @Nullable
258 public static Effect getById(int id) {
259 return BY_ID.get(id);
260 }
261
262 static {
263 for (Effect effect : values()) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected