mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-06-27 22:24:12 +00:00
fix: update data to 1.21.4
This commit is contained in:
parent
a5bea3b585
commit
e4719200d3
19 changed files with 3281 additions and 300 deletions
|
|
@ -31,7 +31,8 @@
|
|||
"purpur_pillar_top",
|
||||
"pumpkin_top",
|
||||
"melon_top",
|
||||
"^(?!.*mushroom_stem).*stem.*",
|
||||
"pumpkin_stem",
|
||||
"melon_stem",
|
||||
".*stage.*",
|
||||
".*poppy.*",
|
||||
"(?!piston_top).*piston.*",
|
||||
|
|
@ -40,7 +41,6 @@
|
|||
"observer_top",
|
||||
".*portal.*",
|
||||
"mycelium_top",
|
||||
"lily_pad",
|
||||
".*lilac.*",
|
||||
".*lever.*",
|
||||
".*lava.*",
|
||||
|
|
@ -86,5 +86,84 @@
|
|||
"frosted_ice",
|
||||
"iron_trapdoor",
|
||||
"item_frame",
|
||||
"jukebox"
|
||||
"jukebox",
|
||||
"cluster",
|
||||
"_open",
|
||||
"_stalk",
|
||||
"leaf",
|
||||
"_rose",
|
||||
"candle",
|
||||
"_powered",
|
||||
"_roots",
|
||||
"vault",
|
||||
"^(?!.*trial_spawner_side_inactive).*trial_spawner.*",
|
||||
"target_top",
|
||||
"^(?!.*_0).*suspicious.*",
|
||||
"stonecutter",
|
||||
"spore",
|
||||
"^(?!.*sea_lantern).*lantern.*",
|
||||
"egg",
|
||||
"smoker_top",
|
||||
"smoker_bottom",
|
||||
"smithing_table_top",
|
||||
"smithing_table_bottom",
|
||||
"^(?!.*budding_amethyst).*bud.*",
|
||||
"^(?!.*sculk_catalyst_side).*sculk.*",
|
||||
"scaffolding",
|
||||
"^(?!.*side0).*respawn.*",
|
||||
"frogspawn",
|
||||
"_ominous",
|
||||
"clump",
|
||||
"^(?!.*reinforced_deepslate_side).*reinforced.*",
|
||||
"pointed_dripstone",
|
||||
"pitcher",
|
||||
"petals",
|
||||
"froglight_top",
|
||||
"^(?!.*pale_moss_block).*pale_moss.*",
|
||||
"pale_hanging",
|
||||
"eyeblossom",
|
||||
"sprouts",
|
||||
"mangrove_roots_side",
|
||||
"propagule",
|
||||
"loom_top",
|
||||
"loop_bottom",
|
||||
"lodestone_top",
|
||||
"lightning",
|
||||
"lily",
|
||||
"lectern",
|
||||
"jigsaw_bottom",
|
||||
"jigsaw_side",
|
||||
"jigsaw_lock",
|
||||
"honey_block_top",
|
||||
"honey_block_bottom",
|
||||
"heavy_core",
|
||||
"grindstone",
|
||||
"lichen",
|
||||
"fletching_table_top",
|
||||
"fungus",
|
||||
"creaking_heart_top",
|
||||
"_triggered",
|
||||
"_crafting",
|
||||
"^(?!.*composter_side).*composter.*",
|
||||
"tuff_top",
|
||||
"bricks_top",
|
||||
"^(?!.*chain_command).*chain.*",
|
||||
"bell",
|
||||
"bee_nest_top",
|
||||
"bee_nest_bottom",
|
||||
"_honey",
|
||||
"^(?!.*beehive_side).*beehive.*",
|
||||
"azalea",
|
||||
"_bloom",
|
||||
"crafter_east",
|
||||
"^(?!.*cartography_table_side1).*cartography.*",
|
||||
"_particle",
|
||||
"_gate",
|
||||
"_fence",
|
||||
"blackstone_top",
|
||||
"_active",
|
||||
"dirt_path",
|
||||
"^(?!.*warped_nylium_side).*warped_nylium.*",
|
||||
"^(?!.*crimson_nylium_side).*crimson_nylium.*",
|
||||
"chiseled_bookshelf_top "
|
||||
]
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
"dropper": "1.5",
|
||||
"emerald_block": "1.3.1",
|
||||
"emerald_ore": "1.3.1",
|
||||
"end_stone": "1.0.0",
|
||||
"end_stone": "1.0",
|
||||
"end_stone_bricks": "1.9",
|
||||
"furnace": "1.0",
|
||||
"glass": "1.0",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const versionRegex = require("../data/versions.json");
|
|||
const INPUT = path.join(__dirname, "../blocks/");
|
||||
const OUTPUT_DIR = path.join(__dirname, "../output/");
|
||||
const OUTPUT = path.join(OUTPUT_DIR, "data.json");
|
||||
const VERSION_DATA = minecraftData("1.13.2");
|
||||
const VERSION_DATA = minecraftData("1.21.3");
|
||||
|
||||
if (!fs.existsSync(OUTPUT_DIR)) fs.mkdirSync(OUTPUT_DIR);
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ const data = {};
|
|||
|
||||
const color = await getAverageColor(filePath);
|
||||
|
||||
const nameRegex = ["_top", "_side", "_front", "_back"];
|
||||
const nameRegex = ["_top", "_side", "_front", "_back", "_bottom"];
|
||||
const pattern = new RegExp(nameRegex.join("|"), "g");
|
||||
const blockName = fileName.replace(pattern, "");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue