Skip to content

Commit

Permalink
Add block sound type scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
ExDrill committed Jun 25, 2024
1 parent ece2d10 commit dbc68c6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/minecraftBedrock/schema/general/vanilla/blockSound.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"gravel",
"hanging_roots",
"hanging_sign",
"heavy_core",
"honey_block",
"itemframe",
"ladder",
Expand All @@ -52,20 +53,20 @@
"mangrove_roots",
"medium_amethyst_bud",
"metal",
"mob_spawner",
"moss_block",
"moss_carpet",
"mud",
"muddy_mangrove_roots",
"mud_bricks",
"netherite",
"netherrack",
"muddy_mangrove_roots",
"nether_brick",
"nether_gold_ore",
"nether_sprouts",
"nether_wart",
"nether_wood",
"nether_wood_hanging_sign",
"normal",
"netherite",
"netherrack",
"nylium",
"packed_mud",
"pink_petals",
Expand Down Expand Up @@ -95,9 +96,9 @@
"trial_spawner",
"tuff",
"tuff_bricks",
"turtle_egg",
"vault",
"vines",
"web",
"wood"
]
}
}
10 changes: 10 additions & 0 deletions scripts/vanillaData/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ export const toScrape: { documentation: DocTarget[]; game: GameTarget[] } = {
path: 'texts/en_US.lang',
content: '^action\\.interact\\.',
},
{
id: 'blockSound',
packType: 'resourcePack',
path: 'blocks.json',
content: '*/sound'
}
],
}

Expand Down Expand Up @@ -285,6 +291,10 @@ export const exportRaw: ExportTarget[] = [
from: ['itemGroup.json'],
to: 'general/vanilla/itemGroup.json',
},
{
from: ['blockSound.json'],
to: 'general/vanilla/blockSound.json'
}
]

/**
Expand Down

0 comments on commit dbc68c6

Please sign in to comment.