Reduced pixie spawns, disabled lighting in the Promised Land (As a result, performance should be far less of a problem than it previously was)
This commit is contained in:
parent
fde082074a
commit
3400ea1676
4 changed files with 17 additions and 11 deletions
|
@ -1,8 +0,0 @@
|
||||||
package worldcore.interfaces;
|
|
||||||
|
|
||||||
public interface IWCFog
|
|
||||||
{
|
|
||||||
public int getFogColour();
|
|
||||||
|
|
||||||
public float getFogCloseness();
|
|
||||||
}
|
|
|
@ -12,7 +12,7 @@
|
||||||
<property name="mc.version" value="1.6.4" />
|
<property name="mc.version" value="1.6.4" />
|
||||||
<property name="forge.version" value="9.11.1.952" />
|
<property name="forge.version" value="9.11.1.952" />
|
||||||
<property name="ccc.version" value="0.9.0.7" />
|
<property name="ccc.version" value="0.9.0.7" />
|
||||||
<property name="worldcore.version" value="1.1.0.12" />
|
<property name="worldcore.version" value="1.1.0.13" />
|
||||||
<property name="fmp.version" value="1.0.0.182" />
|
<property name="fmp.version" value="1.0.0.182" />
|
||||||
|
|
||||||
<property name="src.dir" value="" />
|
<property name="src.dir" value="" />
|
||||||
|
|
|
@ -121,7 +121,7 @@ public class BOPEntities {
|
||||||
|
|
||||||
if (Biomes.promisedLandForest.isPresent() && Biomes.promisedLandSwamp.isPresent() && Biomes.promisedLandPlains.isPresent() && Biomes.promisedLandShrub.isPresent())
|
if (Biomes.promisedLandForest.isPresent() && Biomes.promisedLandSwamp.isPresent() && Biomes.promisedLandPlains.isPresent() && Biomes.promisedLandShrub.isPresent())
|
||||||
{
|
{
|
||||||
EntityRegistry.addSpawn(EntityPixie.class, 8, 1, 3, EnumCreatureType.monster, Biomes.promisedLandForest.get(), Biomes.promisedLandSwamp.get(), Biomes.promisedLandPlains.get(), Biomes.promisedLandShrub.get());
|
EntityRegistry.addSpawn(EntityPixie.class, 4, 1, 3, EnumCreatureType.monster, Biomes.promisedLandForest.get(), Biomes.promisedLandSwamp.get(), Biomes.promisedLandPlains.get(), Biomes.promisedLandShrub.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
package biomesoplenty.world;
|
package biomesoplenty.world;
|
||||||
|
|
||||||
|
import net.minecraft.client.multiplayer.WorldClient;
|
||||||
import net.minecraft.util.ChunkCoordinates;
|
import net.minecraft.util.ChunkCoordinates;
|
||||||
import net.minecraft.util.MathHelper;
|
import net.minecraft.util.MathHelper;
|
||||||
import net.minecraft.util.Vec3;
|
import net.minecraft.util.Vec3;
|
||||||
import net.minecraft.world.WorldProvider;
|
import net.minecraft.world.WorldProvider;
|
||||||
import net.minecraft.world.chunk.IChunkProvider;
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
|
import worldcore.interfaces.IWCLighting;
|
||||||
import biomesoplenty.api.Biomes;
|
import biomesoplenty.api.Biomes;
|
||||||
import biomesoplenty.api.Blocks;
|
import biomesoplenty.api.Blocks;
|
||||||
import biomesoplenty.configuration.configfile.BOPConfigurationIDs;
|
import biomesoplenty.configuration.configfile.BOPConfigurationIDs;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
public class WorldProviderPromised extends WorldProvider
|
public class WorldProviderPromised extends WorldProvider implements IWCLighting
|
||||||
{
|
{
|
||||||
public boolean hasNoSky = false;
|
public boolean hasNoSky = false;
|
||||||
|
|
||||||
|
@ -152,4 +154,16 @@ public class WorldProviderPromised extends WorldProvider
|
||||||
{
|
{
|
||||||
return new ChunkProviderPromised(worldObj, worldObj.getSeed());
|
return new ChunkProviderPromised(worldObj, worldObj.getSeed());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isLightingDisabled()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Float[] getLightingMultipliers(WorldClient worldclient)
|
||||||
|
{
|
||||||
|
return new Float[] { 0.92F, 0.98F, 0.95F };
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue