change:修改部分axolotl为starlight
(不过怎么这么多)
This commit is contained in:
@ -63,7 +63,7 @@ type Color = {
|
||||
export const DEFAULT_GRADIENT_COLORS = ['#A855F7', '#22C55E']
|
||||
|
||||
export const DEFAULT_GRADIENT_DOCUMENT: GradientTextDocument = {
|
||||
lines: [[{ text: 'Axolotl', formats: [] }]],
|
||||
lines: [[{ text: 'Starlight', formats: [] }]],
|
||||
}
|
||||
|
||||
export const gradientFormatAdapters: readonly GradientFormatAdapter[] = [
|
||||
|
||||
@ -14,7 +14,7 @@ import {
|
||||
test('creates pack.mcmeta with legacy and ranged pack formats', () => {
|
||||
assert.equal(JSON.parse(createPackMcmeta(48)).pack.pack_format, 48)
|
||||
assert.deepEqual(JSON.parse(createPackMcmeta([107, 1])).pack, {
|
||||
description: 'Axolotl Recipe Generator',
|
||||
description: 'Starlight Recipe Generator',
|
||||
min_format: [107, 1],
|
||||
max_format: [107, 1],
|
||||
})
|
||||
@ -30,7 +30,7 @@ test('creates a datapack file name with a timestamp', () => {
|
||||
test('creates a description listing recipe product names in brackets', () => {
|
||||
assert.equal(
|
||||
createDatapackDescription(['橡木活板门', '闪长岩台阶']),
|
||||
'Axolotl Recipe Generator\n[橡木活板门] [闪长岩台阶]',
|
||||
'Starlight Recipe Generator\n[橡木活板门] [闪长岩台阶]',
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ export type DatapackTag = {
|
||||
|
||||
export type DatapackSaveSource = PackFile[] | Blob
|
||||
|
||||
const PACK_DESCRIPTION = 'Axolotl Recipe Generator'
|
||||
const PACK_DESCRIPTION = 'Starlight Recipe Generator'
|
||||
|
||||
function formatDatapackTimestamp(date: Date): string {
|
||||
const pad = (value: number) => String(value).padStart(2, '0')
|
||||
|
||||
Reference in New Issue
Block a user