mars spikes + rocks feature tweaks

This commit is contained in:
Pyritie 2025-09-20 17:32:09 +01:00
parent cf8357cb20
commit bf4f8a8898
11 changed files with 103 additions and 89 deletions

View file

@ -1,4 +0,0 @@
{
"type": "tfc:cave_spike",
"config": {}
}

View file

@ -1,4 +0,0 @@
{
"type": "tfc:loose_rock",
"config": {}
}

View file

@ -1,16 +0,0 @@
{
"feature": "tfc:cave_column",
"placement": [
{
"type": "minecraft:carving_mask",
"step": "air",
"min_y": {
"above_bottom": 25
}
},
{
"type": "minecraft:rarity_filter",
"chance": 667
}
]
}

View file

@ -13,10 +13,10 @@
"height": {
"type": "biased_to_bottom",
"min_inclusive": {
"absolute": 0
"absolute": -20
},
"max_inclusive": {
"absolute": 150
"absolute": 100
}
}
},

View file

@ -0,0 +1,28 @@
{
"feature": "tfc:icicle",
"placement": [
{
"type": "minecraft:count",
"count": 10
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "uniform",
"min_inclusive": {
"absolute": 40
},
"max_inclusive": {
"absolute": 150
}
}
},
{
"type": "tfc:climate",
"max_temperature": -70
}
]
}

View file

@ -1,16 +0,0 @@
{
"feature": "tfc:large_cave_spike",
"placement": [
{
"type": "minecraft:carving_mask",
"step": "air",
"min_y": {
"above_bottom": 25
}
},
{
"type": "minecraft:rarity_filter",
"chance": 167
}
]
}

View file

@ -1,5 +1,5 @@
{
"feature": "tfg:mars/underground/loose_rocks",
"feature": "tfc:underground_loose_rocks",
"placement": [
{
"type": "minecraft:count",
@ -24,7 +24,10 @@
"type": "minecraft:environment_scan",
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
"blocks": [
"minecraft:air",
"tfg:fluid/semiheavy_ammoniacal_water"
]
},
"direction_of_search": "down",
"max_steps": 8,

View file

@ -1,5 +1,5 @@
{
"feature": "tfg:mars/underground/cave_spike",
"feature": "tfc:cave_spike",
"placement": [
{
"type": "minecraft:count",
@ -10,10 +10,10 @@
"height": {
"type": "minecraft:uniform",
"min_inclusive": {
"above_bottom": 7
"above_bottom": 5
},
"max_inclusive": {
"absolute": 75
"absolute": 85
}
}
},
@ -24,7 +24,10 @@
"type": "minecraft:environment_scan",
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
"blocks": [
"minecraft:air",
"tfg:fluid/semiheavy_ammoniacal_water"
]
},
"direction_of_search": "down",
"max_steps": 8,
@ -32,6 +35,13 @@
"type": "minecraft:solid"
}
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_block_tag",
"tag": "forge:stone"
}
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,

View file

@ -0,0 +1,51 @@
{
"feature": "tfc:cave_spike",
"placement": [
{
"type": "minecraft:count",
"count": 256
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"min_inclusive": {
"above_bottom": 20
},
"max_inclusive": {
"absolute": 120
}
}
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:environment_scan",
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:air",
"tfg:fluid/semiheavy_ammoniacal_water"
]
},
"direction_of_search": "up",
"max_steps": 8,
"target_condition": {
"type": "minecraft:solid"
}
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_block_tag",
"tag": "forge:stone"
}
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -1
}
]
}

View file

@ -489,18 +489,18 @@ const registerAdAstraPlacedFeatures = (event) => {
//#region Mars
// Underground decoration
//event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/cave_column')
//event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/cave_spike')
//event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/large_cave_spike')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/ice_cave')
event.add('tfg:mars_underground_decoration', 'tfc:cave_spike')
event.add('tfg:mars_underground_decoration', 'tfc:cave_column')
event.add('tfg:mars_underground_decoration', 'tfc:large_cave_spike')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/noise_cave_stalagmite')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/noise_cave_stalagtite')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/calcite')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/mega_calcite')
event.add('tfg:mars_underground_decoration', 'tfc:mars/underground/icicle')
event.add('tfg:mars_underground_decoration', 'tfc:mars/underground/icicle_extra')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/loose_rocks')
event.add('tfg:mars_underground_decoration', 'tfg:mars/underground/ochrum_blob')

View file

@ -65,27 +65,6 @@ global.CREATE_DISABLED_ITEMS = [
'create:layered_scoria',
'create:scoria_pillar',
// Ochrium
'create:ochrum',
'create:cut_ochrum',
'create:cut_ochrum_stairs',
'create:cut_ochrum_slab',
'create:cut_ochrum_wall',
'create:polished_cut_ochrum',
'create:polished_cut_ochrum_stairs',
'create:polished_cut_ochrum_slab',
'create:polished_cut_ochrum_wall',
'create:cut_ochrum_bricks',
'create:cut_ochrum_brick_stairs',
'create:cut_ochrum_brick_slab',
'create:cut_ochrum_brick_wall',
'create:small_ochrum_bricks',
'create:small_ochrum_brick_stairs',
'create:small_ochrum_brick_slab',
'create:small_ochrum_brick_wall',
'create:layered_ochrum',
'create:ochrum_pillar',
// Cringite
'create:crimsite',
'create:cut_crimsite',
@ -127,23 +106,6 @@ global.CREATE_DISABLED_ITEMS = [
'create:layered_tuff',
'create:tuff_pillar',
// Shit Glass
'create:crimson_window',
'create:warped_window',
'create:oak_window',
'create:spruce_window',
'create:birch_window',
'create:jungle_window',
'create:acacia_window',
'create:oak_window_pane',
'create:spruce_window_pane',
'create:birch_window_pane',
'create:jungle_window_pane',
'create:acacia_window_pane',
'create:crimson_window_pane',
'create:warped_window_pane',
// Blocks
'create:andesite_alloy_block',
'create:experience_block',