From ee9c69cfca7f8212a72a36fa3921a5c61a571b61 Mon Sep 17 00:00:00 2001 From: Lazzzycatwastaken Date: Wed, 27 Aug 2025 17:30:05 +0200 Subject: [PATCH] resolve hopefully i hope --- .../com/hbm/world/gen/NTMWorldGenerator.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/hbm/world/gen/NTMWorldGenerator.java b/src/main/java/com/hbm/world/gen/NTMWorldGenerator.java index 049428707..98904b1e2 100644 --- a/src/main/java/com/hbm/world/gen/NTMWorldGenerator.java +++ b/src/main/java/com/hbm/world/gen/NTMWorldGenerator.java @@ -103,8 +103,6 @@ public class NTMWorldGenerator implements IWorldGenerator { spawnWeight = 8; }}); - NBTStructure.registerNullWeight(0, 2, oceanBiomes::contains); //why the fuck did this change - NBTStructure.registerStructure(0, new SpawnCondition("dish") {{ canSpawn = biome -> biome == BiomeGenBase.plains; structure = new JigsawPiece("dish", StructureManager.dish, -10); @@ -113,8 +111,20 @@ public class NTMWorldGenerator implements IWorldGenerator { spawnWeight = 1; }}); + NBTStructure.registerStructure(0, new SpawnCondition("plane1") {{ + canSpawn = biome -> biome == BiomeGenBase.forest || biome == BiomeGenBase.plains; + structure = new JigsawPiece("crashed_plane_1", StructureManager.plane1, -5); + spawnWeight = 50; + }}); + + NBTStructure.registerStructure(0, new SpawnCondition("plane2") {{ + canSpawn = biome -> biome == BiomeGenBase.forest || biome == BiomeGenBase.plains; + structure = new JigsawPiece("crashed_plane_2", StructureManager.plane2, -8); + spawnWeight = 50; + }}); + NBTStructure.registerNullWeight(0, 2, biome -> biome == BiomeGenBase.plains); - NBTStructure.registerNullWeight(0, 2, oceanBiomes::contains); + NBTStructure.registerNullWeight(0, 4, oceanBiomes::contains); Map bricks = new HashMap() {{ put(ModBlocks.meteor_brick, new MeteorBricks());