From 22166e738431da84b30dbcb2ce44741dfaf0e6ff Mon Sep 17 00:00:00 2001 From: Pyritie Date: Thu, 18 Sep 2025 02:27:18 +0100 Subject: [PATCH] siiiiigh --- kubejs/data/tfg/worldgen/biome/mars/amber_edge.json | 2 +- kubejs/data/tfg/worldgen/biome/mars/amber_hills.json | 2 +- kubejs/data/tfg/worldgen/biome/mars/amber_plains.json | 2 +- kubejs/data/tfg/worldgen/biome/mars/rusticus_edge.json | 2 +- .../data/tfg/worldgen/biome/mars/rusticus_hills.json | 2 +- .../data/tfg/worldgen/biome/mars/rusticus_plains.json | 2 +- kubejs/data/tfg/worldgen/biome/mars/sangnum_edge.json | 2 +- kubejs/data/tfg/worldgen/biome/mars/sangnum_hills.json | 2 +- .../data/tfg/worldgen/biome/mars/sangnum_plains.json | 2 +- kubejs/server_scripts/tfg/data.js | 10 ++++++++++ kubejs/startup_scripts/tfg/fauna.js | 2 ++ 11 files changed, 21 insertions(+), 9 deletions(-) diff --git a/kubejs/data/tfg/worldgen/biome/mars/amber_edge.json b/kubejs/data/tfg/worldgen/biome/mars/amber_edge.json index b69954636..30ce3d627 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/amber_edge.json +++ b/kubejs/data/tfg/worldgen/biome/mars/amber_edge.json @@ -44,7 +44,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/amber_hills.json b/kubejs/data/tfg/worldgen/biome/mars/amber_hills.json index 012bac6af..6c33e10b3 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/amber_hills.json +++ b/kubejs/data/tfg/worldgen/biome/mars/amber_hills.json @@ -50,7 +50,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/amber_plains.json b/kubejs/data/tfg/worldgen/biome/mars/amber_plains.json index 08bb4fbe2..31daa1542 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/amber_plains.json +++ b/kubejs/data/tfg/worldgen/biome/mars/amber_plains.json @@ -45,7 +45,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/rusticus_edge.json b/kubejs/data/tfg/worldgen/biome/mars/rusticus_edge.json index 00ef0f260..38afead75 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/rusticus_edge.json +++ b/kubejs/data/tfg/worldgen/biome/mars/rusticus_edge.json @@ -44,7 +44,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/rusticus_hills.json b/kubejs/data/tfg/worldgen/biome/mars/rusticus_hills.json index 159f306c8..d70050440 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/rusticus_hills.json +++ b/kubejs/data/tfg/worldgen/biome/mars/rusticus_hills.json @@ -50,7 +50,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/rusticus_plains.json b/kubejs/data/tfg/worldgen/biome/mars/rusticus_plains.json index 0c2a6729d..0a6d4446f 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/rusticus_plains.json +++ b/kubejs/data/tfg/worldgen/biome/mars/rusticus_plains.json @@ -45,7 +45,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/sangnum_edge.json b/kubejs/data/tfg/worldgen/biome/mars/sangnum_edge.json index 6663957d0..7b0313d66 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/sangnum_edge.json +++ b/kubejs/data/tfg/worldgen/biome/mars/sangnum_edge.json @@ -44,7 +44,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/sangnum_hills.json b/kubejs/data/tfg/worldgen/biome/mars/sangnum_hills.json index c59d3d024..ca4418cf4 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/sangnum_hills.json +++ b/kubejs/data/tfg/worldgen/biome/mars/sangnum_hills.json @@ -50,7 +50,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/data/tfg/worldgen/biome/mars/sangnum_plains.json b/kubejs/data/tfg/worldgen/biome/mars/sangnum_plains.json index 78fbade02..368bbe1c3 100644 --- a/kubejs/data/tfg/worldgen/biome/mars/sangnum_plains.json +++ b/kubejs/data/tfg/worldgen/biome/mars/sangnum_plains.json @@ -45,7 +45,7 @@ "#tfg:mars_top_layer_modification" ], "has_precipitation": false, - "creature_spawn_probability": 0.15, + "creature_spawn_probability": 0.2, "spawn_costs": { "endermanoverhaul:crimson_forest_enderman": { "energy_budget": 0.05, diff --git a/kubejs/server_scripts/tfg/data.js b/kubejs/server_scripts/tfg/data.js index 1de29293f..857d10023 100644 --- a/kubejs/server_scripts/tfg/data.js +++ b/kubejs/server_scripts/tfg/data.js @@ -961,4 +961,14 @@ function registerTFGFauna(event) { faunaData.solidGround(true) }, "wan_ancient_beasts:glider") + + event.fauna( + climate => { + climate.minTemp(-75) + climate.fuzzy(true) + }, + faunaData => { + faunaData.solidGround(false) + }, + "wan_ancient_beasts:surfer") } \ No newline at end of file diff --git a/kubejs/startup_scripts/tfg/fauna.js b/kubejs/startup_scripts/tfg/fauna.js index 46141c358..c3abd10bc 100644 --- a/kubejs/startup_scripts/tfg/fauna.js +++ b/kubejs/startup_scripts/tfg/fauna.js @@ -13,4 +13,6 @@ TFCEvents.registerFaunas(event => { event.replace("wan_ancient_beasts:soarer", "no_restrictions", "world_surface"); event.replace("wan_ancient_beasts:glider", "no_restrictions", "world_surface"); + + event.replace("wan_ancient_beasts:surfer", "no_restrictions", "ocean_floor"); }) \ No newline at end of file