Fixed the biome village spawn config option.
Tweaked the offset on barley.
This commit is contained in:
parent
72a681fa49
commit
f187d8e4fb
2 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue