From dbc68c64539464526f83284e7973df1043f9b061 Mon Sep 17 00:00:00 2001 From: ExDrill <72329798+ExDrill@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:36:59 -0500 Subject: [PATCH] Add block sound type scraper --- .../schema/general/vanilla/blockSound.json | 13 +++++++------ scripts/vanillaData/data.ts | 10 ++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/packages/minecraftBedrock/schema/general/vanilla/blockSound.json b/packages/minecraftBedrock/schema/general/vanilla/blockSound.json index e17d390c..c7df06c5 100644 --- a/packages/minecraftBedrock/schema/general/vanilla/blockSound.json +++ b/packages/minecraftBedrock/schema/general/vanilla/blockSound.json @@ -42,6 +42,7 @@ "gravel", "hanging_roots", "hanging_sign", + "heavy_core", "honey_block", "itemframe", "ladder", @@ -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", @@ -95,9 +96,9 @@ "trial_spawner", "tuff", "tuff_bricks", - "turtle_egg", "vault", "vines", + "web", "wood" ] -} +} \ No newline at end of file diff --git a/scripts/vanillaData/data.ts b/scripts/vanillaData/data.ts index cfcfc0e0..be6ea324 100644 --- a/scripts/vanillaData/data.ts +++ b/scripts/vanillaData/data.ts @@ -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' + } ], } @@ -285,6 +291,10 @@ export const exportRaw: ExportTarget[] = [ from: ['itemGroup.json'], to: 'general/vanilla/itemGroup.json', }, + { + from: ['blockSound.json'], + to: 'general/vanilla/blockSound.json' + } ] /**