mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Added oil rig.
Made all structures rarer (via null spawn weight)
This commit is contained in:
parent
e318c83023
commit
eb8971dc2e
@ -57,7 +57,7 @@ public class StructureManager {
|
||||
public static final NBTStructure vertibird = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/vertibird.nbt"));
|
||||
public static final NBTStructure crashed_vertibird = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/crashed-vertibird.nbt"));
|
||||
public static final NBTStructure aircraft_carrier = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/aircraft_carrier.nbt"));
|
||||
// public static final NBTStructure oilrig = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/oilrig.nbt"));
|
||||
public static final NBTStructure oil_rig = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/oil_rig.nbt"));
|
||||
// public static final NBTStructure test_rot = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/test-rot.nbt"));
|
||||
// public static final NBTStructure test_jigsaw = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/test-jigsaw.nbt"));
|
||||
// public static final NBTStructure test_jigsaw_core = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/test-jigsaw-core.nbt"));
|
||||
|
||||
@ -69,12 +69,17 @@ public class NTMWorldGenerator implements IWorldGenerator {
|
||||
spawnWeight = 1;
|
||||
}});
|
||||
|
||||
// NBTStructure.registerStructure(0, new SpawnCondition() {{
|
||||
// canSpawn = oceanBiomes::contains;
|
||||
// structure = new JigsawPiece("oilrig", StructureManager.oilrig);
|
||||
// maxHeight = 56;
|
||||
// spawnWeight = 5 * 5;
|
||||
// }});
|
||||
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
||||
canSpawn = oceanBiomes::contains;
|
||||
structure = new JigsawPiece("oil_rig", StructureManager.oil_rig);
|
||||
maxHeight = 48;
|
||||
spawnWeight = 2;
|
||||
}});
|
||||
|
||||
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
||||
canSpawn = oceanBiomes::contains;
|
||||
spawnWeight = 8;
|
||||
}});
|
||||
|
||||
Map<Block, BlockSelector> bricks = new HashMap<Block, BlockSelector>() {{
|
||||
put(ModBlocks.meteor_brick, new MeteorBricks());
|
||||
|
||||
Binary file not shown.
BIN
src/main/resources/assets/hbm/structures/oil_rig.nbt
Normal file
BIN
src/main/resources/assets/hbm/structures/oil_rig.nbt
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user