import type { BannerPattern } from 'sandstone/arguments/generated/data/variants/banner_pattern.ts' import type { Registry } from 'sandstone/arguments/generated/registry.ts' import type { DyeColor } from 'sandstone/arguments/generated/util/color.ts' import type { BlockEntity, Nameable } from 'sandstone/arguments/generated/world/block.ts' import type { BannerPatternClass } from 'sandstone' export type Banner = (BlockEntity & Nameable & { patterns?: Array, }) export type BannerPatternLayer = { /** * The dye color of the pattern. * * Value: * * - White(`white`) * - Orange(`orange`) * - Magenta(`magenta`) * - LightBlue(`light_blue`) * - Yellow(`yellow`) * - Lime(`lime`) * - Pink(`pink`) * - Gray(`gray`) * - LightGray(`light_gray`) * - Cyan(`cyan`) * - Purple(`purple`) * - Blue(`blue`) * - Brown(`brown`) * - Green(`green`) * - Red(`red`) * - Black(`black`) */ color: DyeColor, /** * The banner pattern. */ pattern: ((Registry['minecraft:banner_pattern'] | BannerPatternClass) | BannerPattern), } export type BannerPatternType = ( | 'bs' | 'ts' | 'ls' | 'rs' | 'cs' | 'ms' | 'drs' | 'dls' | 'ss' | 'cr' | 'sc' | 'ld' | 'rud' | 'lud' | 'rd' | 'vh' | 'vhr' | 'hh' | 'hhb' | 'bl' | 'br' | 'tl' | 'tr' | 'bt' | 'tt' | 'bts' | 'tts' | 'mc' | 'mr' | 'bo' | 'cbo' | 'bri' | 'gra' | 'gru' | 'cre' | 'sku' | 'flo' | 'moj' | 'glb' | 'pig')