mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
BOIIIIIIIIIIIIIIIIII TS (type soul) getting a 20 hog code ( setro and minors? like in minecraft? I know nothing of association with setro and minors.)
This commit is contained in:
parent
bfe043b81d
commit
76b51ebca9
@ -81,7 +81,7 @@ public class WorldConfig {
|
|||||||
public static boolean enableSulfurCave = true;
|
public static boolean enableSulfurCave = true;
|
||||||
public static boolean enableAsbestosCave = true;
|
public static boolean enableAsbestosCave = true;
|
||||||
|
|
||||||
public static int radioStructure = 500;
|
// public static int radioStructure = 500;
|
||||||
public static int antennaStructure = 250;
|
public static int antennaStructure = 250;
|
||||||
public static int atomStructure = 500;
|
public static int atomStructure = 500;
|
||||||
public static int dungeonStructure = 64;
|
public static int dungeonStructure = 64;
|
||||||
@ -204,7 +204,7 @@ public class WorldConfig {
|
|||||||
enableAsbestosCave = CommonConfig.createConfigBool(config, CATEGORY_OREGEN, "2.C01_enableAsbestosCave", "Toggles asbestos caves", true);
|
enableAsbestosCave = CommonConfig.createConfigBool(config, CATEGORY_OREGEN, "2.C01_enableAsbestosCave", "Toggles asbestos caves", true);
|
||||||
|
|
||||||
final String CATEGORY_DUNGEON = CommonConfig.CATEGORY_DUNGEONS;
|
final String CATEGORY_DUNGEON = CommonConfig.CATEGORY_DUNGEONS;
|
||||||
radioStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.00_radioSpawn", "Spawn radio station on every nTH chunk", 500);
|
// radioStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.00_radioSpawn", "Spawn radio station on every nTH chunk", 500);
|
||||||
antennaStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.01_antennaSpawn", "Spawn antenna on every nTH chunk", 250);
|
antennaStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.01_antennaSpawn", "Spawn antenna on every nTH chunk", 250);
|
||||||
atomStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.02_atomSpawn", "Spawn power plant on every nTH chunk", 500);
|
atomStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.02_atomSpawn", "Spawn power plant on every nTH chunk", 500);
|
||||||
dungeonStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.04_dungeonSpawn", "Spawn library dungeon on every nTH chunk", 64);
|
dungeonStructure = CommonConfig.createConfigInt(config, CATEGORY_DUNGEON, "4.04_dungeonSpawn", "Spawn library dungeon on every nTH chunk", 64);
|
||||||
@ -245,7 +245,7 @@ public class WorldConfig {
|
|||||||
craterBiomeOuterRad = (float) CommonConfig.createConfigDouble(config, CATEGORY_BIOMES, "17.R02_craterBiomeOuterRad", "RAD/s for the outer crater biome", 0.5D);
|
craterBiomeOuterRad = (float) CommonConfig.createConfigDouble(config, CATEGORY_BIOMES, "17.R02_craterBiomeOuterRad", "RAD/s for the outer crater biome", 0.5D);
|
||||||
craterBiomeWaterMult = (float) CommonConfig.createConfigDouble(config, CATEGORY_BIOMES, "17.R03_craterBiomeWaterMult", "Multiplier for RAD/s in crater biomes when in water", 5D);
|
craterBiomeWaterMult = (float) CommonConfig.createConfigDouble(config, CATEGORY_BIOMES, "17.R03_craterBiomeWaterMult", "Multiplier for RAD/s in crater biomes when in water", 5D);
|
||||||
|
|
||||||
radioStructure = CommonConfig.setDefZero(radioStructure, 1000);
|
// radioStructure = CommonConfig.setDefZero(radioStructure, 1000);
|
||||||
antennaStructure = CommonConfig.setDefZero(antennaStructure, 1000);
|
antennaStructure = CommonConfig.setDefZero(antennaStructure, 1000);
|
||||||
atomStructure = CommonConfig.setDefZero(atomStructure, 1000);
|
atomStructure = CommonConfig.setDefZero(atomStructure, 1000);
|
||||||
dungeonStructure = CommonConfig.setDefZero(dungeonStructure, 1000);
|
dungeonStructure = CommonConfig.setDefZero(dungeonStructure, 1000);
|
||||||
|
|||||||
@ -223,17 +223,17 @@ public class HbmWorldGen implements IWorldGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) {
|
// if(biome == BiomeGenBase.plains || biome == BiomeGenBase.desert) {
|
||||||
if(WorldConfig.radioStructure > 0 && rand.nextInt(WorldConfig.radioStructure) == 0) {
|
// if(WorldConfig.radioStructure > 0 && rand.nextInt(WorldConfig.radioStructure) == 0) {
|
||||||
for(int a = 0; a < 1; a++) {
|
// for(int a = 0; a < 1; a++) {
|
||||||
int x = i + rand.nextInt(16);
|
// int x = i + rand.nextInt(16);
|
||||||
int z = j + rand.nextInt(16);
|
// int z = j + rand.nextInt(16);
|
||||||
int y = world.getHeightValue(x, z);
|
// int y = world.getHeightValue(x, z);
|
||||||
|
//
|
||||||
new Radio01().generate(world, rand, x, y, z);
|
// new Radio01().generate(world, rand, x, y, z);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if(biome.temperature >= 0.4F && biome.rainfall <= 0.6F) {
|
if(biome.temperature >= 0.4F && biome.rainfall <= 0.6F) {
|
||||||
if(WorldConfig.antennaStructure > 0 && rand.nextInt(WorldConfig.antennaStructure) == 0) {
|
if(WorldConfig.antennaStructure > 0 && rand.nextInt(WorldConfig.antennaStructure) == 0) {
|
||||||
|
|||||||
@ -114,7 +114,7 @@ public class NTMWorldGenerator implements IWorldGenerator {
|
|||||||
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
||||||
canSpawn = flatbiomes::contains;
|
canSpawn = flatbiomes::contains;
|
||||||
structure = new JigsawPiece("radio_house", StructureManager.radio_house, -6);
|
structure = new JigsawPiece("radio_house", StructureManager.radio_house, -6);
|
||||||
spawnWeight = 40;
|
spawnWeight = 30;
|
||||||
}});
|
}});
|
||||||
|
|
||||||
NBTStructure.registerNullWeight(0, 4, oceanBiomes::contains);
|
NBTStructure.registerNullWeight(0, 4, oceanBiomes::contains);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user