Gets the DyeColor with the given color value. @param color Color value to get the dye by @return The DyeColor representing the given value, or null if it doesn't exist
(@NotNull final Color color)
| 181 | * it doesn't exist |
| 182 | */ |
| 183 | @Nullable |
| 184 | public static DyeColor getByColor(@NotNull final Color color) { |
| 185 | return BY_COLOR.get(color); |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * Gets the DyeColor with the given firework color value. |