Fixed boat deleting blocks under it or sum

This commit is contained in:
Lazzzycatwastaken 2025-03-24 17:39:11 +01:00
parent 6ceba52f95
commit 7731b4c1e8
2 changed files with 5 additions and 4 deletions

View File

@ -72,21 +72,22 @@ public class NTMWorldGenerator implements IWorldGenerator {
}}); }});
NBTStructure.registerStructure(0, new SpawnCondition() {{ NBTStructure.registerStructure(0, new SpawnCondition() {{
canSpawn = oceanBiomes::contains; canSpawn = biome -> biome == BiomeGenBase.deepOcean;
structure = new JigsawPiece("oil_rig", StructureManager.oil_rig); structure = new JigsawPiece("oil_rig", StructureManager.oil_rig);
maxHeight = 48; maxHeight = 48;
minHeight = 47; minHeight = 47;
spawnWeight = 3; spawnWeight = 2;
}}); }});
NBTStructure.registerStructure(0, new SpawnCondition() {{ NBTStructure.registerStructure(0, new SpawnCondition() {{
canSpawn = beachBiomes::contains; canSpawn = beachBiomes::contains;
structure = new JigsawPiece("beached_patrol", StructureManager.beached_patrol); structure = new JigsawPiece("beached_patrol", StructureManager.beached_patrol);
minHeight = 63;
maxHeight = 67;
spawnWeight = 8; spawnWeight = 8;
maxHeight = 65;
}}); }});
NBTStructure.registerNullWeight(0, 12); NBTStructure.registerNullWeight(0, 2);
Map<Block, BlockSelector> bricks = new HashMap<Block, BlockSelector>() {{ Map<Block, BlockSelector> bricks = new HashMap<Block, BlockSelector>() {{
put(ModBlocks.meteor_brick, new MeteorBricks()); put(ModBlocks.meteor_brick, new MeteorBricks());