Increased dungeon rarity slightly.
This commit is contained in:
parent
46e8256f45
commit
8bcad50572
|
@ -41,7 +41,7 @@ public class BronzeDungeon extends AetherDungeon {
|
|||
|
||||
public boolean generateBossRoom(World world, Random random, int i, int j, int k)
|
||||
{
|
||||
if (!isBoxSolid(world, new PositionData(i, j - 3, k), new PositionData(16, 16, 16)) || !isBoxSolid(world, new PositionData(i + 20, j, k + 2), new PositionData(12, 12, 12))) {
|
||||
if (!isBoxSolid(world, new PositionData(i, j - 3, k), new PositionData(16, 18, 16)) || !isBoxSolid(world, new PositionData(i + 20, j, k + 2), new PositionData(12, 12, 12))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,9 +24,9 @@ public class MapGenGoldenDungeon extends MapGenStructure {
|
|||
|
||||
@Override
|
||||
protected boolean canSpawnStructureAtCoords(int chunkX, int chunkZ) {
|
||||
if (this.rand.nextInt(120) != 0)
|
||||
if (this.rand.nextInt(140) != 0)
|
||||
{
|
||||
if (this.rand.nextInt(140) != 0)
|
||||
if (this.rand.nextInt(180) != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -21,9 +21,9 @@ public class MapGenSilverDungeon extends MapGenStructure {
|
|||
|
||||
@Override
|
||||
protected boolean canSpawnStructureAtCoords(int chunkX, int chunkZ) {
|
||||
if (this.rand.nextInt(60) != 0)
|
||||
if (this.rand.nextInt(80) != 0)
|
||||
{
|
||||
if (this.rand.nextInt(80) != 0)
|
||||
if (this.rand.nextInt(120) != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue