fixed end asteroids spawning with red granite texture
This commit is contained in:
parent
70e652420d
commit
8659c9573c
1 changed files with 6 additions and 11 deletions
|
@ -185,19 +185,14 @@ public class GT_Worldgenerator
|
||||||
if ((var39 * var39 + var42 * var42 + var45 * var45 < 1.0D) && (mWorld.getBlock(tX, tY, tZ).isAir(mWorld, tX, tY, tZ))) {
|
if ((var39 * var39 + var42 * var42 + var45 * var45 < 1.0D) && (mWorld.getBlock(tX, tY, tZ).isAir(mWorld, tX, tY, tZ))) {
|
||||||
int ranOre = aRandom.nextInt(50);
|
int ranOre = aRandom.nextInt(50);
|
||||||
if (ranOre < 3) {
|
if (ranOre < 3) {
|
||||||
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, primaryMeta + (tDimensionType == -30 ? 4000 : 2000), true);
|
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, primaryMeta , true);
|
||||||
} else if (ranOre < 6) {
|
} else if (ranOre < 6) {
|
||||||
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, secondaryMeta + (tDimensionType == -30 ? 4000 : 2000), true);
|
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, secondaryMeta , true);
|
||||||
} else if (ranOre < 8) {
|
} else if (ranOre < 8) {
|
||||||
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, betweenMeta + (tDimensionType == -30 ? 4000 : 2000), true);
|
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, betweenMeta , true);
|
||||||
} else if (ranOre < 10) {
|
} else if (ranOre < 10) {
|
||||||
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, sporadicMeta + (tDimensionType == -30 ? 4000 : 2000), true);
|
GT_TileEntity_Ores.setOreBlock(mWorld, eX, eY, eZ, sporadicMeta , true);
|
||||||
} else {
|
} else {mWorld.setBlock(eX, eY, eZ, Blocks.end_stone, 0, 0);
|
||||||
if (tDimensionType == -30) {
|
|
||||||
mWorld.setBlock(eX, eY, eZ, GregTech_API.sBlockGranites, 8, 3);
|
|
||||||
} else {
|
|
||||||
mWorld.setBlock(eX, eY, eZ, Blocks.end_stone, 0, 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue