fix some blocks disappearing

This commit is contained in:
Pyritie
2025-09-07 15:16:54 +01:00
parent bec7a90b43
commit 0559136e04

View File

@@ -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')
}