Adjusted zephyr spawnrates.

This commit is contained in:
bconlon 2020-12-31 19:16:26 -08:00
parent 0179984308
commit 3a439a396d
2 changed files with 1 additions and 3 deletions

View File

@ -25,8 +25,6 @@ public class AetherTrivia {
String localization = Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
System.out.println(localization);
if (getEntriesForLocalization(localization) != null)
{
return getEntriesForLocalization(localization);

View File

@ -40,7 +40,7 @@ public class EntityZephyr extends EntityFlying implements IMob {
int j = MathHelper.floor_double(this.boundingBox.minY);
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