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)
| 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. |