Added Goldenrods and Bluebells
This commit is contained in:
parent
9eed71de31
commit
73d904ae91
13 changed files with 39 additions and 6 deletions
|
@ -185,7 +185,9 @@ public class BlockReferences {
|
|||
hibiscus (Blocks.flowers2, 0),
|
||||
lilyofthevalley (Blocks.flowers2, 1),
|
||||
burningblossom (Blocks.flowers2, 2),
|
||||
lavender (Blocks.flowers2, 2),
|
||||
lavender (Blocks.flowers2, 3),
|
||||
goldenrod (Blocks.flowers2, 4),
|
||||
bluebells (Blocks.flowers2, 5),
|
||||
;
|
||||
|
||||
public Optional<? extends Block> block;
|
||||
|
|
|
@ -223,6 +223,8 @@ public class BiomeDecoratorBOP extends BiomeDecorator
|
|||
public WorldGenerator lilyOfTheValleyGen;
|
||||
public WorldGenerator burningBlossomGen;
|
||||
public WorldGenerator lavenderGen;
|
||||
public WorldGenerator goldenrodGen;
|
||||
public WorldGenerator bluebellGen;
|
||||
|
||||
public WorldGenerator boneSpineGen;
|
||||
public WorldGenerator boneSpine2Gen;
|
||||
|
@ -312,6 +314,8 @@ public class BiomeDecoratorBOP extends BiomeDecorator
|
|||
public int lilyOfTheValleysPerChunk;
|
||||
public int burningBlossomsPerChunk;
|
||||
public int lavenderPerChunk;
|
||||
public int goldenrodsPerChunk;
|
||||
public int bluebellsPerChunk;
|
||||
|
||||
public int boneSpinesPerChunk;
|
||||
public int boneSpines2PerChunk;
|
||||
|
@ -465,6 +469,8 @@ public class BiomeDecoratorBOP extends BiomeDecorator
|
|||
lilyOfTheValleyGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 1);
|
||||
burningBlossomGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 2);
|
||||
lavenderGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 3);
|
||||
goldenrodGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 4);
|
||||
bluebellGen = new WorldGenBOPFlowers(Blocks.flowers2.get().blockID, 5);
|
||||
lilyflowerGen = new WorldGenLilyflower();
|
||||
deathbloomGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 2);
|
||||
hydrangeaGen = new WorldGenBOPFlowers(Blocks.flowers.get().blockID, 4);
|
||||
|
@ -594,6 +600,8 @@ public class BiomeDecoratorBOP extends BiomeDecorator
|
|||
lilyOfTheValleysPerChunk = 0;
|
||||
burningBlossomsPerChunk = 0;
|
||||
lavenderPerChunk = 0;
|
||||
goldenrodsPerChunk = 0;
|
||||
bluebellsPerChunk = 0;
|
||||
generateLakes = true;
|
||||
generateAsh = false;
|
||||
generateMycelium = false;
|
||||
|
@ -1147,6 +1155,22 @@ public class BiomeDecoratorBOP extends BiomeDecorator
|
|||
lavenderGen.generate(currentWorld, randomGenerator, var3, var4, var5);
|
||||
}
|
||||
|
||||
for (var2 = 0; var2 < goldenrodsPerChunk; ++var2)
|
||||
{
|
||||
var3 = chunk_X + randomGenerator.nextInt(16) + 8;
|
||||
var4 = randomGenerator.nextInt(256);
|
||||
var5 = chunk_Z + randomGenerator.nextInt(16) + 8;
|
||||
goldenrodGen.generate(currentWorld, randomGenerator, var3, var4, var5);
|
||||
}
|
||||
|
||||
for (var2 = 0; var2 < bluebellsPerChunk; ++var2)
|
||||
{
|
||||
var3 = chunk_X + randomGenerator.nextInt(16) + 8;
|
||||
var4 = randomGenerator.nextInt(256);
|
||||
var5 = chunk_Z + randomGenerator.nextInt(16) + 8;
|
||||
bluebellGen.generate(currentWorld, randomGenerator, var3, var4, var5);
|
||||
}
|
||||
|
||||
for (var2 = 0; var2 < hydrangeasPerChunk; ++var2)
|
||||
{
|
||||
var3 = chunk_X + randomGenerator.nextInt(16) + 8;
|
||||
|
|
|
@ -23,7 +23,8 @@ public class BiomeGenPrairie extends BiomeGenBase
|
|||
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
|
||||
customBiomeDecorator.treesPerChunk = 1;
|
||||
customBiomeDecorator.grassPerChunk = 999;
|
||||
customBiomeDecorator.whiteFlowersPerChunk = 45;
|
||||
customBiomeDecorator.whiteFlowersPerChunk = 20;
|
||||
customBiomeDecorator.goldenrodsPerChunk = 40;
|
||||
customBiomeDecorator.portobellosPerChunk = 2;
|
||||
customBiomeDecorator.berryBushesPerChunk = 2;
|
||||
customBiomeDecorator.carrotsPerChunk = 1;
|
||||
|
|
|
@ -28,6 +28,7 @@ public class BiomeGenSpruceWoods extends BiomeGenBase
|
|||
customBiomeDecorator.poisonIvyPerChunk = 1;
|
||||
customBiomeDecorator.berryBushesPerChunk = 3;
|
||||
customBiomeDecorator.carrotsPerChunk = 1;
|
||||
customBiomeDecorator.bluebellsPerChunk = 100;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,7 +22,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||
|
||||
public class BlockBOPFlower2 extends BlockFlower
|
||||
{
|
||||
private static final String[] plants2 = new String[] {"hibiscus", "lilyofthevalley", "burningblossom", "lavender"};
|
||||
private static final String[] plants2 = new String[] {"hibiscus", "lilyofthevalley", "burningblossom", "lavender", "goldenrod", "bluebells"};
|
||||
private Icon[] textures;
|
||||
|
||||
protected BlockBOPFlower2(int blockID, Material material)
|
||||
|
|
|
@ -226,6 +226,9 @@ public class ThaumcraftIntegration {
|
|||
ThaumcraftApi.registerObjectTag(getBID("hibiscus"), getBMeta("hibiscus"), (new AspectList()).add(Aspect.PLANT, 4));
|
||||
ThaumcraftApi.registerObjectTag(getBID("lilyofthevalley"), getBMeta("lilyofthevalley"), (new AspectList()).add(Aspect.PLANT, 4).add(Aspect.POISON, 1));
|
||||
ThaumcraftApi.registerObjectTag(getBID("burningblossom"), getBMeta("burningblossom"), (new AspectList()).add(Aspect.PLANT, 4).add(Aspect.FIRE, 2));
|
||||
ThaumcraftApi.registerObjectTag(getBID("lavender"), getBMeta("lavender"), (new AspectList()).add(Aspect.PLANT, 4));
|
||||
ThaumcraftApi.registerObjectTag(getBID("goldenrod"), getBMeta("goldenrod"), (new AspectList()).add(Aspect.PLANT, 4));
|
||||
ThaumcraftApi.registerObjectTag(getBID("bluebells"), getBMeta("bluebells"), (new AspectList()).add(Aspect.PLANT, 4));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||
|
||||
public class ItemBlockFlower2 extends ItemBlock
|
||||
{
|
||||
private static final String[] plants = new String[] {"hibiscus", "lilyofthevalley", "burningblossom", "lavender"};
|
||||
private static final String[] plants = new String[] {"hibiscus", "lilyofthevalley", "burningblossom", "lavender", "goldenrod", "bluebells"};
|
||||
@SideOnly(Side.CLIENT)
|
||||
private Icon[] textures;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ public class WorldGenTaiga3 extends WorldGenerator
|
|||
int var6 = var2.nextInt(10) + 35;
|
||||
int var7 = var2.nextInt(5) + 10;
|
||||
int var8 = var6 - var7;
|
||||
int var9 = 4;
|
||||
int var9 = 3;
|
||||
boolean var10 = true;
|
||||
|
||||
if (var4 >= 1 && var4 + var6 + 1 <= 256)
|
||||
|
|
|
@ -20,7 +20,7 @@ public class WorldGenTaiga4 extends WorldGenerator
|
|||
int var6 = var2.nextInt(15) + 20;
|
||||
int var7 = var2.nextInt(3) + 5;
|
||||
int var8 = var6 - var7;
|
||||
int var9 = 2 + var2.nextInt(3);
|
||||
int var9 = 2 + var2.nextInt(2);
|
||||
boolean var10 = true;
|
||||
|
||||
if (var4 >= 1 && var4 + var6 + 1 <= 256)
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
<entry key="tile.bop.flowers2.lilyofthevalley.name">Lily of the Valley</entry>
|
||||
<entry key="tile.bop.flowers2.burningblossom.name">Burning Blossom</entry>
|
||||
<entry key="tile.bop.flowers2.lavender.name">Lavender</entry>
|
||||
<entry key="tile.bop.flowers2.goldenrod.name">Goldenrod</entry>
|
||||
<entry key="tile.bop.flowers2.bluebells.name">Bluebells</entry>
|
||||
|
||||
<entry key="tile.bop.foliage.algae.name">Algae</entry>
|
||||
<entry key="tile.bop.foliage.shortgrass.name">Short Grass</entry>
|
||||
|
|
BIN
resources/assets/biomesoplenty/textures/blocks/bluebells.png
Normal file
BIN
resources/assets/biomesoplenty/textures/blocks/bluebells.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 473 B |
BIN
resources/assets/biomesoplenty/textures/blocks/goldenrod.png
Normal file
BIN
resources/assets/biomesoplenty/textures/blocks/goldenrod.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 646 B |
Binary file not shown.
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 651 B |
Loading…
Reference in a new issue