mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
le le structure
This commit is contained in:
parent
2e6a2d9f1d
commit
b5faf15c5a
@ -239,6 +239,11 @@ public class NTMWorldGenerator implements IWorldGenerator {
|
||||
structure = new JigsawPiece("NTMRuinsJ", StructureManager.ntmruinsJ, -1) {{conformToTerrain = true;}};
|
||||
spawnWeight = StructureConfig.enableRuins ? StructureConfig.ruinsJSpawnWeight : 0;
|
||||
}});
|
||||
NBTStructure.registerStructure(0, new SpawnCondition("tower_base") {{
|
||||
canSpawn = biome -> biome.heightVariation <= 0.3F && !isInvalidBiome(biome);
|
||||
structure = new JigsawPiece("tower_base", StructureManager.tower_base, -6);
|
||||
spawnWeight = StructureConfig.towerBaseSpawnWeight;
|
||||
}});
|
||||
|
||||
NBTStructure.registerNullWeight(0, StructureConfig.plainsNullWeight, biome -> biome == BiomeGenBase.plains);
|
||||
NBTStructure.registerNullWeight(0, StructureConfig.oceanNullWeight, biome -> BiomeDictionary.isBiomeOfType(biome, Type.OCEAN));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user