-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from BTW-Community/dev
1.3.2
- Loading branch information
Showing
71 changed files
with
703 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
src/minecraft/net/minecraft/src/BTABiomeGenJungleEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package net.minecraft.src; | ||
|
||
import java.util.Random; | ||
|
||
public class BTABiomeGenJungleEdge extends BTABiomeGenBase | ||
{ | ||
public BTABiomeGenJungleEdge(int par1, BTAEnumClimate climate) | ||
{ | ||
super(par1, climate); | ||
this.btaBiomeDecorator.treesPerChunk = 5; | ||
this.btaBiomeDecorator.grassPerChunk = 25; | ||
this.btaBiomeDecorator.flowersPerChunk = 4; | ||
this.btaBiomeDecorator.sandPerChunk = 100; | ||
this.btaBiomeDecorator.sandPerChunk2 = 100; | ||
this.btaBiomeDecorator.waterlilyPerChunk = 4; | ||
this.spawnableCreatureList.clear(); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityChicken.class, 10, 4, 4)); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityPig.class, 10, 4, 4)); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityChicken.class, 10, 4, 4)); | ||
this.spawnableMonsterList.clear(); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityJungleSpider.class, 2, 1, 1)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySpider.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityZombie.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySkeleton.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityCreeper.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySlime.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityEnderman.class, 1, 1, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityOcelot.class, 2, 1, 1)); | ||
this.waterColorMultiplier = 10083127; | ||
} | ||
|
||
/** | ||
* Gets a WorldGen appropriate for this biome. | ||
*/ | ||
public WorldGenerator getRandomWorldGenForTrees(Random par1Random) | ||
{ | ||
return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true)))); | ||
} | ||
|
||
/** | ||
* Gets a WorldGen appropriate for this biome. | ||
*/ | ||
public WorldGenerator getRandomWorldGenForGrass(Random par1Random) | ||
{ | ||
return par1Random.nextInt(4) == 0 ? new BTAWorldGenTallGrass(Block.tallGrass.blockID, 2) : new BTAWorldGenTallGrass(Block.tallGrass.blockID, 1); | ||
} | ||
|
||
public void decorate(World par1World, Random par2Random, int par3, int par4, BTAWorldConfigurationInfo generatorOptions) | ||
{ | ||
super.decorate(par1World, par2Random, par3, par4, generatorOptions); | ||
WorldGenVines var5 = new WorldGenVines(); | ||
|
||
for (int var6 = 0; var6 < 50; ++var6) | ||
{ | ||
int var7 = par3 + par2Random.nextInt(16) + 8; | ||
byte var8 = 64; | ||
int var9 = par4 + par2Random.nextInt(16) + 8; | ||
var5.generate(par1World, par2Random, var7, var8, var9); | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
src/minecraft/net/minecraft/src/BTABiomeGenRainforestEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
package net.minecraft.src; | ||
|
||
import java.util.Random; | ||
|
||
public class BTABiomeGenRainforestEdge extends BTABiomeGenBase { | ||
|
||
public BTABiomeGenRainforestEdge(int id, BTAEnumClimate climate) { | ||
super(id, climate); | ||
this.btaBiomeDecorator.treesPerChunk = 5; | ||
this.btaBiomeDecorator.grassPerChunk = 7; | ||
this.btaBiomeDecorator.reedsPerChunk = 10; | ||
this.btaBiomeDecorator.waterlilyPerChunk = 4; | ||
this.waterColorMultiplier = 6160128; | ||
this.spawnableCreatureList.clear(); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityChicken.class, 10, 4, 4)); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityPig.class, 10, 4, 4)); | ||
this.spawnableCreatureList.add(new SpawnListEntry(FCEntityChicken.class, 10, 4, 4)); | ||
this.spawnableMonsterList.clear(); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityJungleSpider.class, 2, 1, 1)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySpider.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityZombie.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySkeleton.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityCreeper.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntitySlime.class, 10, 4, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityEnderman.class, 1, 1, 4)); | ||
this.spawnableMonsterList.add(new SpawnListEntry(FCEntityOcelot.class, 2, 1, 1)); | ||
} | ||
|
||
/** | ||
* Gets a WorldGen appropriate for this biome. | ||
*/ | ||
@Override | ||
public WorldGenerator getRandomWorldGenForTrees(Random rand) | ||
{ | ||
WorldGenerator gen; | ||
|
||
if (rand.nextInt(10) == 0) { | ||
gen = new BTAWorldGenRainforest2(); | ||
} | ||
else if (rand.nextInt(5) == 0) { | ||
gen = new WorldGenTrees(false, 4 + rand.nextInt(7), 3, 3, true); | ||
} | ||
else if (rand.nextInt(2) == 0) { | ||
gen = new BTAWorldGenRainforest1(true); | ||
} | ||
else { | ||
gen = new WorldGenShrub(3, 3); | ||
} | ||
|
||
return gen; | ||
} | ||
|
||
public void decorate(World par1World, Random par2Random, int par3, int par4, BTAWorldConfigurationInfo generatorOptions) | ||
{ | ||
super.decorate(par1World, par2Random, par3, par4, generatorOptions); | ||
WorldGenVines var5 = new WorldGenVines(); | ||
|
||
for (int var6 = 0; var6 < 50; ++var6) | ||
{ | ||
int var7 = par3 + par2Random.nextInt(16) + 8; | ||
byte var8 = 64; | ||
int var9 = par4 + par2Random.nextInt(16) + 8; | ||
var5.generate(par1World, par2Random, var7, var8, var9); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.