Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

Commit

Permalink
Updating to Craftbukkit 1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rmichela committed Sep 21, 2013
1 parent 67b30c3 commit b5a90d9
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 37 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>com.ryanmichela</groupId>
<artifactId>Subterranea</artifactId>
<name>Subterranea</name>
<version>1.6.2-R03</version>
<version>1.6.4-R01</version>
<url>http://dev.bukkit.org/server-mods/subterranea/</url>

<properties>
Expand Down Expand Up @@ -43,21 +43,21 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.6.2-R0.1</version>
<version>1.6.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.6.2-R0.1</version>
<version>1.6.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.ryanmichela</groupId>
<artifactId>GiantCaves</artifactId>
<version>1.6.2-R0.1</version>
<version>1.6.4-R01</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
30 changes: 17 additions & 13 deletions src/main/java/com/ryanmichela/subterranea/SBiomeDecorator.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

/**
* Copyright 2013 Ryan Michela
Expand Down Expand Up @@ -173,18 +173,22 @@ protected void a() {
}

if (this.K) {
for (j = 0; j < 50; ++j) {
k = this.c + this.b.nextInt(16) + 8;
l = this.b.nextInt(this.b.nextInt(240) + 8); //120=240
i1 = this.d + this.b.nextInt(16) + 8;
(new WorldGenLiquids(Block.WATER.id)).a(this.a, this.b, k, l, i1);
}

for (j = 0; j < 20; ++j) {
k = this.c + this.b.nextInt(16) + 8;
l = this.b.nextInt(this.b.nextInt(this.b.nextInt(224) + 8) + 8); //112=224
i1 = this.d + this.b.nextInt(16) + 8;
(new WorldGenLiquids(Block.LAVA.id)).a(this.a, this.b, k, l, i1);
try {
for (j = 0; j < 50; ++j) {
k = this.c + this.b.nextInt(16) + 8;
l = this.b.nextInt(this.b.nextInt(240) + 8); //120=240
i1 = this.d + this.b.nextInt(16) + 8;
(new WorldGenLiquids(Block.WATER.id)).a(this.a, this.b, k, l, i1);
}

for (j = 0; j < 20; ++j) {
k = this.c + this.b.nextInt(16) + 8;
l = this.b.nextInt(this.b.nextInt(this.b.nextInt(224) + 8) + 8); //112=224
i1 = this.d + this.b.nextInt(16) + 8;
(new WorldGenLiquids(Block.LAVA.id)).a(this.a, this.b, k, l, i1);
}
} catch (Exception e) {
System.out.println("Exception in liquid population. Most likely an underground stream got too long. - " + e.getMessage());
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import com.ryanmichela.giantcaves.GiantCavePopulator;
import com.ryanmichela.moresilverfish.SilverfishPopulator;
import com.ryanmichela.undergroundbiomes.UndergroundBiomePopulator;
import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R2.World;
import net.minecraft.server.v1_6_R3.*;
import net.minecraft.server.v1_6_R3.World;
import org.bukkit.ChatColor;
import org.bukkit.craftbukkit.v1_6_R2.CraftWorld;
import org.bukkit.craftbukkit.v1_6_R3.CraftWorld;
import org.bukkit.generator.BlockPopulator;
import org.bukkit.generator.ChunkGenerator;
import org.bukkit.plugin.Plugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* Copyright 2013 Ryan Michela
*/
import net.minecraft.server.v1_6_R2.*;
import org.bukkit.craftbukkit.v1_6_R2.CraftWorld;
import net.minecraft.server.v1_6_R3.*;
import org.bukkit.craftbukkit.v1_6_R3.CraftWorld;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.StructureStart;
import net.minecraft.server.v1_6_R2.WorldGenLargeFeature;
import net.minecraft.server.v1_6_R3.StructureStart;
import net.minecraft.server.v1_6_R3.WorldGenLargeFeature;

/**
* Copyright 2013 Ryan Michela
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.StructureBoundingBox;
import net.minecraft.server.v1_6_R2.World;
import net.minecraft.server.v1_6_R2.WorldGenPyramidPiece;
import net.minecraft.server.v1_6_R3.StructureBoundingBox;
import net.minecraft.server.v1_6_R3.World;
import net.minecraft.server.v1_6_R3.WorldGenPyramidPiece;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;
import org.bukkit.BlockChangeDelegate;

import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.*;
import net.minecraft.server.v1_6_R3.*;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ryanmichela.subterranea;

import net.minecraft.server.v1_6_R2.WorldProviderNormal;
import net.minecraft.server.v1_6_R3.WorldProviderNormal;

/**
* Copyright 2013 Ryan Michela
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Subterranea
version: "1.6.2-R0.1 R3"
version: "1.6.4-R0.1 R1"
author: Ryan Michela
main: com.ryanmichela.subterranea.SPlugin
prefix: "Subterranea"
Expand Down

0 comments on commit b5a90d9

Please sign in to comment.