From 0559136e04823a90c828d4f11c240ea9948028a0 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sun, 7 Sep 2025 15:16:54 +0100 Subject: [PATCH] fix some blocks disappearing --- kubejs/startup_scripts/betterend/blocks.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kubejs/startup_scripts/betterend/blocks.js b/kubejs/startup_scripts/betterend/blocks.js index a88a7c5a9..9f6b35914 100644 --- a/kubejs/startup_scripts/betterend/blocks.js +++ b/kubejs/startup_scripts/betterend/blocks.js @@ -8,8 +8,9 @@ function registerBetterEndBlocks(event) { event.create('betterend:chorus_lily', 'tfc:ground_cover') .soundType('cherry_wood') .hardness(0.5) - .tagBlock('minecraft:mineable/hoe') .tagItem('tfg:moon_plants') + .tagBlock('minecraft:mineable/hoe') + .tagBlock('tfg:do_not_destroy_in_space') .mapColor('terracotta_white') .box(0, 0, 0, 16, 6, 16) .fullBlock(false) @@ -78,6 +79,7 @@ function registerBetterEndBlocks(event) { .mapColor('color_light_blue') .tagItem('tfg:mars_plants') .tagItem('forge:mushrooms') + .tagBlock('tfg:do_not_destroy_in_space') .tagBlock('minecraft:replaceable') event.create('betterend:lacugrove', 'tfg:floating_decorative_plant') @@ -86,6 +88,7 @@ function registerBetterEndBlocks(event) { .box(0, 0, 0, 16, 1, 16) .mapColor('color_cyan') .tagItem('tfg:mars_plants') + .tagBlock('tfg:do_not_destroy_in_space') .tagBlock('minecraft:replaceable') // Mosses / Can go on sides of blocks @@ -96,12 +99,14 @@ function registerBetterEndBlocks(event) { .tagItem('tfg:mars_plants') .tagItem('forge:mushrooms') .tagBlock('minecraft:replaceable') + .tagBlock('tfg:do_not_destroy_in_space') event.create('betterend:purple_polypore', 'tfg:attached_decorative_plant') .soundType('nether_wart') .tagItem('tfg:mars_plants') .tagItem('forge:mushrooms') .tagBlock('minecraft:replaceable') + .tagBlock('tfg:do_not_destroy_in_space') event.create('betterend:filalux_wings', 'tfg:attached_decorative_plant') .soundType('nether_wart') @@ -109,18 +114,21 @@ function registerBetterEndBlocks(event) { .tagItem('tfg:mars_plants') .tagItem('forge:mushrooms') .tagBlock('minecraft:replaceable') + .tagBlock('tfg:do_not_destroy_in_space') event.create('betterend:bulb_moss', 'tfg:attached_decorative_plant') .soundType('crop') .lootItem('tfc:straw') .tagItem('tfg:mars_plants') .tagBlock('minecraft:replaceable') + .tagBlock('tfg:do_not_destroy_in_space') // Leaves event.create('betterend:cave_bush', 'tfc:leaves') .soundType('azalea_leaves') .tagBlock('minecraft:mineable/hoe') + .tagBlock('tfg:do_not_destroy_in_space') .mapColor('fire') .seasonalColors(false) .tagItem('tfg:mars_plants') @@ -145,6 +153,7 @@ function registerBetterEndBlocks(event) { event.create('betterend:lucernia_leaves', 'tfc:leaves') .soundType('azalea_leaves') .tagBlock('minecraft:mineable/hoe') + .tagBlock('tfg:do_not_destroy_in_space') .mapColor('color_orange') .seasonalColors(false) .tagItem('tfg:mars_plants') @@ -178,6 +187,7 @@ function registerBetterEndBlocks(event) { .height(3) .soundType('nether_wart') .tagItem('tfg:mars_plants') + .tagBlock('tfg:do_not_destroy_in_space') .tagItem('forge:mushrooms') .mapColor('fire') @@ -185,6 +195,7 @@ function registerBetterEndBlocks(event) { .height(5) .soundType('crop') .tagItem('tfg:mars_plants') + .tagBlock('tfg:do_not_destroy_in_space') .mapColor('color_orange') // europa...? @@ -208,4 +219,5 @@ function createPlant(event, id, planet) { return event.create(`betterend:${id}`, 'tfg:decorative_plant') .tagItem(`tfg:${planet}_plants`) .tagBlock('minecraft:replaceable') + .tagBlock('tfg:do_not_destroy_in_space') } \ No newline at end of file