mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fixed retardation code
Oilrig building upgraded and made it spawn always on the same Y
This commit is contained in:
parent
eb8971dc2e
commit
7d642f155c
@ -73,13 +73,11 @@ public class NTMWorldGenerator implements IWorldGenerator {
|
|||||||
canSpawn = oceanBiomes::contains;
|
canSpawn = oceanBiomes::contains;
|
||||||
structure = new JigsawPiece("oil_rig", StructureManager.oil_rig);
|
structure = new JigsawPiece("oil_rig", StructureManager.oil_rig);
|
||||||
maxHeight = 48;
|
maxHeight = 48;
|
||||||
spawnWeight = 2;
|
minHeight = 47;
|
||||||
|
spawnWeight = 4;
|
||||||
}});
|
}});
|
||||||
|
|
||||||
NBTStructure.registerStructure(0, new SpawnCondition() {{
|
NBTStructure.registerNullWeight(0, 12);
|
||||||
canSpawn = oceanBiomes::contains;
|
|
||||||
spawnWeight = 8;
|
|
||||||
}});
|
|
||||||
|
|
||||||
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