fix some mars plants self-destructing

This commit is contained in:
Pyritie 2026-01-10 21:31:20 +00:00
parent 6178c5cb1d
commit 012da662f2
2 changed files with 10 additions and 0 deletions

View file

@ -99,6 +99,9 @@ function registerTFGMarsItemTags(event) {
event.add('forge:mushrooms', 'betterend:flammalix')
event.add('forge:mushrooms', 'betterend:small_amaranita_mushroom')
event.remove('ad_astra:destroyed_in_space', 'minecraft:pitcher_plant')
event.remove('ad_astra:destroyed_in_space', 'minecraft:torchflower')
}
function registerTFGMarsBlockTags(event) {
@ -270,6 +273,11 @@ function registerTFGMarsBlockTags(event) {
event.add('tfg:do_not_destroy_in_space', 'tfg:grass/mars_farmland')
event.add('tfg:do_not_destroy_in_space', 'tfg:grass/mars_path')
event.remove('ad_astra:destroyed_in_space', 'minecraft:pitcher_plant')
event.remove('ad_astra:destroyed_in_space', 'minecraft:torchflower')
event.remove('ad_astra:destroyed_in_space', 'tfg:blossom_berry')
event.remove('ad_astra:destroyed_in_space', 'tfg:blossom_berry_wild')
event.add('tfc:can_landslide', 'tfg:grass/mars_dirt')
event.add('tfc:can_landslide', 'tfg:grass/mars_clay_dirt')
event.add('tfc:can_landslide', 'tfg:grass/mars_farmland')

View file

@ -140,6 +140,7 @@ const registerTFGCrops = (event) => {
.hardness(0.4)
.tagBlock('minecraft:mineable/hoe')
.tagBlock('minecraft:flowers')
.tagBlock('tfg:do_not_destroy_in_space')
.productItem(product => {
product.food(food => {
food.hunger(5)
@ -163,6 +164,7 @@ const registerTFGCrops = (event) => {
.tagBlock('minecraft:mineable/hoe')
.tagBlock('tfc:can_be_snow_piled')
.tagBlock('minecraft:flowers')
.tagBlock('tfg:do_not_destroy_in_space')
.tagItem('c:hidden_from_recipe_viewers')