mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-24 15:00:48 +00:00
Fixed boat deleting blocks under it or sum
This commit is contained in:
parent
6ceba52f95
commit
7731b4c1e8
@ -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());
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user