of

@Contract(value = "_, _ -> new", pure = true)
fun of(type: BannerPatternType, color: DyeColor): BannerPattern

Creates a new banner pattern with the given values.

Return

a new banner pattern

Parameters

type

the type

color

the colour