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

Method getByFireworkColor

src/main/java/org/bukkit/DyeColor.java:195–198  ·  view source on GitHub ↗

Gets the DyeColor with the given firework color value. @param color Color value to get dye by @return The DyeColor representing the given value, or null if it doesn't exist

(@NotNull final Color color)

Source from the content-addressed store, hash-verified

193 * it doesn't exist
194 */
195 @Nullable
196 public static DyeColor getByFireworkColor(@NotNull final Color color) {
197 return BY_FIREWORK.get(color);
198 }
199
200 /**
201 * Gets the DyeColor for the given name, possibly doing legacy transformations.

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected