Fixed the biome village spawn config option.

Tweaked the offset on barley.
This commit is contained in:
Amnet 2013-05-13 20:06:49 +02:00
parent 72a681fa49
commit f187d8e4fb
2 changed files with 3 additions and 4 deletions

View file

@ -63,10 +63,9 @@ public class PlantsRenderer implements ISimpleBlockRenderingHandler
i1 = i1 * i1 * 42317861L + i1 * 11L;
d0 += ((double)((float)(i1 >> 16 & 15L) / 15.0F) - 0.5D) * 0.5D;
d1 += ((double)((float)(i1 >> 20 & 15L) / 15.0F) - 1.0D) * 0.2D;
d2 += ((double)((float)(i1 >> 24 & 15L) / 15.0F) - 0.5D) * 0.5D;
renderer.renderBlockCropsImpl(par1Block, renderer.blockAccess.getBlockMetadata(par2, par3, par4), d0, d1, d2);
renderer.renderBlockCropsImpl(par1Block, renderer.blockAccess.getBlockMetadata(par2, par3, par4), d0, (double)((float)par3 - 0.0625F), d2);
return true;
}

View file

@ -1081,8 +1081,8 @@ public class BOPBiomes {
private static void addVillageBiome(Optional<? extends BiomeGenBase> biome, boolean flag)
{
if (biome.isPresent())
BiomeManager.addVillageBiome(biome.get(), flag);
if (biome.isPresent() && flag)
BiomeManager.addVillageBiome(biome.get(), true);
}
private static void addStrongholdBiome(Optional<? extends BiomeGenBase> biome)