quicksand!

This commit is contained in:
Pyritie 2025-08-26 00:30:17 +01:00
parent b9af2efc61
commit 348824d076
7 changed files with 79 additions and 3 deletions

View file

@ -36,7 +36,8 @@
[],
"#tfg:mars_veins",
[
"tfg:mars/terrain/spice_disc"
"tfg:mars/terrain/spice_disc",
"tfg:mars/terrain/red_quicksand"
],
[],
[

View file

@ -35,7 +35,9 @@
[],
[],
"#tfg:mars_veins",
[],
[
"tfg:mars/terrain/red_quicksand"
],
[
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"

View file

@ -0,0 +1,46 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "tfc:soil_disc",
"config": {
"min_radius": 2,
"max_radius": 3,
"height": 2,
"states": [
{
"replace": "minecraft:red_sand",
"with": "wan_ancient_beasts:quick_red_sand"
},
{
"replace": "ad_astra:mars_sand",
"with": "wan_ancient_beasts:quick_red_sand"
}
]
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:any_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:red_sand"
},
{
"type": "minecraft:matching_blocks",
"blocks": "ad_astra:mars_sand"
}
]
}
}
]
},
"tries": 8,
"xz_spread": 8,
"y_spread": 2
}
}

View file

@ -58,7 +58,7 @@
]
},
"tries": 32,
"xz_spread": 16,
"xz_spread": 8,
"y_spread": 2
}
},

View file

@ -0,0 +1,19 @@
{
"feature": "tfg:mars/terrain/red_quicksand",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 15
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -47,6 +47,11 @@ const registerWABRecipes = (event) => {
.duration(20)
.circuit(4)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.tfc.landslide('wan_ancient_beasts:quick_red_sand', 'wan_ancient_beasts:quick_red_sand')
event.recipes.tfc.landslide('wan_ancient_beasts:quick_sand', 'wan_ancient_beasts:quick_sand')
}
const registerWABFoodData = (event) => {

View file

@ -5,6 +5,9 @@ const registerWABBlockTags = (event) => {
event.removeAllTagsFrom(block)
event.add('c:hidden_from_recipe_viewers', block)
})
event.add('tfc:can_landslide', 'wan_ancient_beasts:quick_red_sand')
event.add('tfc:can_landslide', 'wan_ancient_beasts:quick_sand')
}
const registerWABItemTags = (event) => {