Skip to content

Commit 63d2af2

Browse files
committed
Sync colorData with PNG-to-NBT's library (source-of-truth)
1 parent 80ad476 commit 63d2af2

4 files changed

Lines changed: 74 additions & 96 deletions

File tree

website/scripts/sync-map-colors.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const targetPath = path.resolve(cwd, "src/lib/mapColorDataSynced.ts");
99
const banner =
1010
"// AUTO-SYNCED from PNG-to-NBT/website/src/data/mapColors.ts\n" +
1111
"// Run `npm run sync:map-colors` to refresh.\n" +
12-
"// Exports: `SHADE_MULTIPLIERS`, `BASE_COLORS`, `WATER_BASE_INDEX`, `getColorLookup`, `getShadedRgb`.\n\n";
12+
"// Exports: `Shade`, `SHADE_MULTIPLIERS`, `BASE_COLORS`, `WATER_BASE_INDEX`, `ColorShade`, `packRgb`, `unpackRgb`, `getShadedRgb`.\n\n";
1313

1414
const normalize = (text) => text.replace(/\r\n/g, "\n").trimEnd() + "\n";
1515

0 commit comments

Comments
 (0)