From d2340eea1777e13a7c9b98ab35e6455225781020 Mon Sep 17 00:00:00 2001 From: Dakedres Date: Sat, 14 Feb 2026 21:30:02 -0700 Subject: [PATCH] Enhanced Mushrooms + block swap advanced --- pack/config/blockswap/block_swap.json5 | 91 ------------------- pack/config/blockswap/missing_block_ids.json5 | 20 ---- pack/defaultconfigs/block_swap.json5 | 19 ++++ pack/kubejs/server_scripts/cutter.js | 14 +++ pack/kubejs/server_scripts/obliterate.js | 1 + pack/mods/block-swap-advanced.pw.toml | 13 +++ pack/mods/enhanced-mushrooms.pw.toml | 13 +++ 7 files changed, 60 insertions(+), 111 deletions(-) delete mode 100644 pack/config/blockswap/block_swap.json5 delete mode 100644 pack/config/blockswap/missing_block_ids.json5 create mode 100644 pack/defaultconfigs/block_swap.json5 create mode 100644 pack/mods/block-swap-advanced.pw.toml create mode 100644 pack/mods/enhanced-mushrooms.pw.toml diff --git a/pack/config/blockswap/block_swap.json5 b/pack/config/blockswap/block_swap.json5 deleted file mode 100644 index 1cab781..0000000 --- a/pack/config/blockswap/block_swap.json5 +++ /dev/null @@ -1,91 +0,0 @@ -/* -This file uses the ".json5" file extension which allows for comments like this in a json file! -Your text editor may show this file with invalid/no syntax, if so, we recommend you download: - -VSCode: https://code.visualstudio.com/ -JSON5 plugin(for VSCode): https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-json5 - -to make editing this file much easier. -*/ -{ - // Generates all block states for all blocks in the registry. - "generate_all_known_states": true, - // Whether blocks are replaced in existing chunks. - "retro_gen": false, - /* A map of states that specifies what the "old" block state is and what its "new" block state is. - See "known_states" folder("generate_all_known_states" must be set to true in this config) to see all known block states available for all blocks available in the registry. - Example: - "state_swapper": [ - { - "new": { - "Name": "minecraft:birch_log", - // Properties define the state of this block/fluid. - "Properties": { - "axis": "x" - } - }, - "old": { - "Name": "minecraft:oak_log", - // Properties define the state of this block/fluid. - "Properties": { - "axis": "z" - } - } - }, - { - "new": { - "Name": "minecraft:birch_leaves", - // Properties define the state of this block/fluid. - "Properties": { - "distance": "7", - "persistent": "true" - } - }, - "old": { - "Name": "minecraft:acacia_log", - // Properties define the state of this block/fluid. - "Properties": { - "axis": "z" - } - } - }, - { - "new": { - "Name": "minecraft:jungle_log", - // Properties define the state of this block/fluid. - "Properties": { - "axis": "x" - } - }, - "old": { - "Name": "minecraft:birch_log", - // Properties define the state of this block/fluid. - "Properties": { - "axis": "z" - } - } - }, - { - "new": { - "Name": "minecraft:jungle_planks", - }, - "old": { - "Name": "minecraft:acacia_planks", - } - } - } - ] - */ - "state_swapper": [], - /* A map of blocks that specifies what the "old" block is and what its "new" block is. - Example: - "swapper": { - "minecraft:coarse_dirt": "minecraft:dirt", - "minecraft:diamond_block": "minecraft:emerald_block" - } - */ - "swapper": { - "minecraft:enchanting_table": "minecraft:anvil", - "minecraft:stonecutter": "sawmill:sawmill" - } -} diff --git a/pack/config/blockswap/missing_block_ids.json5 b/pack/config/blockswap/missing_block_ids.json5 deleted file mode 100644 index 74b38a4..0000000 --- a/pack/config/blockswap/missing_block_ids.json5 +++ /dev/null @@ -1,20 +0,0 @@ -/* -This file uses the ".json5" file extension which allows for comments like this in a json file! -Your text editor may show this file with invalid/no syntax, if so, we recommend you download: - -VSCode: https://code.visualstudio.com/ -JSON5 plugin(for VSCode): https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-json5 - -to make editing this file much easier. -*/ -{ - /* A map of blocks that specifies what the "old" broken block is and what its "new" functional block is. - Example: - "swapper": { - Broken ID Valid ID - "minecraft:coarse_dirt": "minecraft:dirt", - "minecraft:diamond_block": "minecraft:emerald_block" - } - */ - "id_remapper": { } -} \ No newline at end of file diff --git a/pack/defaultconfigs/block_swap.json5 b/pack/defaultconfigs/block_swap.json5 new file mode 100644 index 0000000..ede792a --- /dev/null +++ b/pack/defaultconfigs/block_swap.json5 @@ -0,0 +1,19 @@ +{ + "swapper": [ + { + "core": { + "old": {"Name": "minecraft:stonecutter"}, + "new": {"Name": "sawmill:sawmill"}, + "replace_placement": true + } + }, + { + "core": { + "old": {"Name": "minecraft:enchanting_table"}, + "new": {"Name": "minecraft:anvil"}, + "replace_placement": true + } + } + ], + "retro_gen": false +} \ No newline at end of file diff --git a/pack/kubejs/server_scripts/cutter.js b/pack/kubejs/server_scripts/cutter.js index e7fa580..9f0cdda 100644 --- a/pack/kubejs/server_scripts/cutter.js +++ b/pack/kubejs/server_scripts/cutter.js @@ -225,6 +225,20 @@ const woodTypes = [ 'boat', ] }, + { + "mod": "enhanced_mushrooms", + "name": "mushroom", + "blockTypes": { + "log": 'minecraft:mushroom_stem', + "stripped_log": 'enhanced_mushrooms:stripped_mushroom_stem', + wood: 'enhanced_mushrooms:mushroom_hyphae', + stripped_wood: 'enhanced_mushrooms:stripped_mushroom_hyphae', + short_door: 'dramaticdoors:short_red_mushroom_door', + tall_door: 'dramaticdoors:tall_red_mushroom_door' + // hollow_log: 'quark:hollow_warped_stem', + // boat: 'boatload:warped_boat' + } + }, { "mod": "minecraft", "name": "crimson", diff --git a/pack/kubejs/server_scripts/obliterate.js b/pack/kubejs/server_scripts/obliterate.js index ff5726b..c6038fc 100644 --- a/pack/kubejs/server_scripts/obliterate.js +++ b/pack/kubejs/server_scripts/obliterate.js @@ -9,6 +9,7 @@ const obliterateItems = [ // "kitchenkarrot:acorn", "kitchenkarrot:sweet_roll", "kitchenkarrot:pillager_pie", + 'minecraft:enchanting_table', // /refinedstorage:\\d+k_(fluid_)?storage_(part|disk)"/, // "refinedstorage:storage_housing", // "refinedstorage:creative_fluid_storage_disk", diff --git a/pack/mods/block-swap-advanced.pw.toml b/pack/mods/block-swap-advanced.pw.toml new file mode 100644 index 0000000..5a7fc0e --- /dev/null +++ b/pack/mods/block-swap-advanced.pw.toml @@ -0,0 +1,13 @@ +name = "Block Swap Advanced" +filename = "Block Swap Advanced-forge-1.20.1-1.0.0.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/iwdNG8lf/versions/nwno5MeX/Block%20Swap%20Advanced-forge-1.20.1-1.0.0.jar" +hash-format = "sha512" +hash = "48689f782d06c4fb0091398471c4916316f35c237bfc708916ed6e7d533c13a838b836d258c429c56fa16b4a29019a7a27bbc24c1bd2d46dd07e0525204ee55a" + +[update] +[update.modrinth] +mod-id = "iwdNG8lf" +version = "nwno5MeX" diff --git a/pack/mods/enhanced-mushrooms.pw.toml b/pack/mods/enhanced-mushrooms.pw.toml new file mode 100644 index 0000000..5c3d5c5 --- /dev/null +++ b/pack/mods/enhanced-mushrooms.pw.toml @@ -0,0 +1,13 @@ +name = "Enhanced Mushrooms" +filename = "enhanced_mushrooms-5.0.0.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/4Zf7J76Q/versions/DSNxiUU9/enhanced_mushrooms-5.0.0.jar" +hash-format = "sha512" +hash = "0af54cacc759291e84f495b574ab88359b4360e3d7ccd9aa5061dc993c33cad72843bf8a4382779b862c1bcb15d12ba796490106ca60c7166eed6061a837e12a" + +[update] +[update.modrinth] +mod-id = "4Zf7J76Q" +version = "DSNxiUU9"