Increased dungeon rarity slightly.

This commit is contained in:
bconlon 2020-07-19 12:48:50 -07:00
parent 46e8256f45
commit 8bcad50572
3 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}