2013-05-03 13:00:44 +00:00
|
|
|
package biomesoplenty.worldgen;
|
|
|
|
|
|
|
|
import java.util.Random;
|
|
|
|
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraft.world.gen.feature.WorldGenerator;
|
2013-05-29 01:05:27 +00:00
|
|
|
import biomesoplenty.api.Blocks;
|
2013-05-03 13:00:44 +00:00
|
|
|
|
|
|
|
public class WorldGenPromisedLandPortal extends WorldGenerator
|
|
|
|
{
|
2013-05-31 10:34:02 +00:00
|
|
|
@Override
|
|
|
|
public boolean generate(World var1, Random var2, int var3, int var4, int var5)
|
|
|
|
{
|
2013-05-03 13:00:44 +00:00
|
|
|
var1.setBlock(0, 64, 0, Blocks.promisedPortal.get().blockID);
|
|
|
|
var1.setBlock(0, 64, 1, Blocks.promisedPortal.get().blockID);
|
|
|
|
var1.setBlock(1, 64, 0, Blocks.promisedPortal.get().blockID);
|
|
|
|
var1.setBlock(0, 64, 1, Blocks.promisedPortal.get().blockID);
|
|
|
|
var1.setBlock(0, 65, 0, 0);
|
|
|
|
var1.setBlock(0, 65, 1, 0);
|
|
|
|
var1.setBlock(1, 65, 0, 0);
|
|
|
|
var1.setBlock(0, 65, 1, 0);
|
|
|
|
var1.setBlock(0, 66, 0, 0);
|
|
|
|
var1.setBlock(0, 66, 1, 0);
|
|
|
|
var1.setBlock(1, 66, 0, 0);
|
|
|
|
var1.setBlock(0, 66, 1, 0);
|
|
|
|
var1.setBlock(0, 67, 0, 0);
|
|
|
|
var1.setBlock(0, 67, 1, 0);
|
|
|
|
var1.setBlock(1, 67, 0, 0);
|
|
|
|
var1.setBlock(0, 67, 1, 0);
|
|
|
|
var1.setBlock(0, 68, 0, 0);
|
|
|
|
var1.setBlock(0, 68, 1, 0);
|
|
|
|
var1.setBlock(1, 68, 0, 0);
|
|
|
|
var1.setBlock(0, 68, 1, 0);
|
|
|
|
var1.setBlock(0, 69, 0, 0);
|
|
|
|
var1.setBlock(0, 69, 1, 0);
|
|
|
|
var1.setBlock(1, 69, 0, 0);
|
|
|
|
var1.setBlock(0, 69, 1, 0);
|
|
|
|
var1.setBlock(0, 70, 0, 0);
|
|
|
|
var1.setBlock(0, 70, 1, 0);
|
|
|
|
var1.setBlock(1, 70, 0, 0);
|
|
|
|
var1.setBlock(0, 70, 1, 0);
|
|
|
|
var1.setBlock(0, 71, 0, 0);
|
|
|
|
var1.setBlock(0, 71, 1, 0);
|
|
|
|
var1.setBlock(1, 71, 0, 0);
|
|
|
|
var1.setBlock(0, 71, 1, 0);
|
|
|
|
var1.setBlock(0, 72, 0, 0);
|
|
|
|
var1.setBlock(0, 72, 1, 0);
|
|
|
|
var1.setBlock(1, 72, 0, 0);
|
|
|
|
var1.setBlock(0, 72, 1, 0);
|
|
|
|
var1.setBlock(0, 73, 0, 0);
|
|
|
|
var1.setBlock(0, 73, 1, 0);
|
|
|
|
var1.setBlock(1, 73, 0, 0);
|
|
|
|
var1.setBlock(0, 73, 1, 0);
|
|
|
|
var1.setBlock(0, 74, 0, 0);
|
|
|
|
var1.setBlock(0, 74, 1, 0);
|
|
|
|
var1.setBlock(1, 74, 0, 0);
|
|
|
|
var1.setBlock(0, 74, 1, 0);
|
2013-05-31 10:34:02 +00:00
|
|
|
|
2013-05-03 13:00:44 +00:00
|
|
|
return true;
|
2013-05-31 10:34:02 +00:00
|
|
|
}
|
2013-05-03 13:00:44 +00:00
|
|
|
}
|