resolve hopefully i hope

This commit is contained in:
Lazzzycatwastaken 2025-08-27 17:30:05 +02:00
parent 5bde7c9a0d
commit ee9c69cfca

View File

@ -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<Block, BlockSelector> bricks = new HashMap<Block, BlockSelector>() {{
put(ModBlocks.meteor_brick, new MeteorBricks());