Creates a new pattern from the specified color and pattern type @param color the pattern color @param pattern the pattern type
(@NotNull DyeColor color, @NotNull PatternType pattern)
| 30 | * @param pattern the pattern type |
| 31 | */ |
| 32 | public Pattern(@NotNull DyeColor color, @NotNull PatternType pattern) { |
| 33 | this.color = color; |
| 34 | this.pattern = pattern; |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Constructor for deserialization. |
nothing calls this directly
no test coverage detected