Adjusted zephyr spawnrates.
This commit is contained in:
parent
0179984308
commit
3a439a396d
|
@ -25,8 +25,6 @@ public class AetherTrivia {
|
||||||
|
|
||||||
String localization = Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
|
String localization = Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
|
||||||
|
|
||||||
System.out.println(localization);
|
|
||||||
|
|
||||||
if (getEntriesForLocalization(localization) != null)
|
if (getEntriesForLocalization(localization) != null)
|
||||||
{
|
{
|
||||||
return getEntriesForLocalization(localization);
|
return getEntriesForLocalization(localization);
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class EntityZephyr extends EntityFlying implements IMob {
|
||||||
int j = MathHelper.floor_double(this.boundingBox.minY);
|
int j = MathHelper.floor_double(this.boundingBox.minY);
|
||||||
int k = MathHelper.floor_double(this.posZ);
|
int k = MathHelper.floor_double(this.posZ);
|
||||||
|
|
||||||
return this.worldObj.getBlock(i, j - 1, k) == BlocksAether.aether_grass && this.rand.nextInt(25) == 0 && this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).size() == 0 && !this.worldObj.isAnyLiquid(this.boundingBox) && this.worldObj.getBlockLightValue(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.boundingBox.minY), MathHelper.floor_double(this.posZ)) > 8 && super.getCanSpawnHere();
|
return this.worldObj.getBlock(i, j - 1, k) == BlocksAether.aether_grass && this.rand.nextInt(50) == 0 && this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).size() == 0 && !this.worldObj.isAnyLiquid(this.boundingBox) && this.worldObj.getBlockLightValue(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.boundingBox.minY), MathHelper.floor_double(this.posZ)) > 8 && super.getCanSpawnHere();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue