OSDN Git Service

21f3c086043ebfd8a737936da0a3a296eee4b743
[chemicraft/chemicraft.git] / common / pcc / chemicraft / util / WorldTypeChemical.java
1 package pcc.chemicraft.util;
2
3 import net.minecraft.world.World;
4 import net.minecraft.world.WorldType;
5 import net.minecraft.world.biome.WorldChunkManager;
6 import net.minecraft.world.chunk.IChunkProvider;
7
8 public class WorldTypeChemical extends WorldType {
9
10         public WorldTypeChemical(int par1, String par2Str) {
11                 super(par1, par2Str);
12         }
13
14         public WorldChunkManager getChunkManager(World par1) {
15                 return new WorldChunkManager(par1);
16         }
17
18         public IChunkProvider getChunkGenerator(World par1) {
19                 return new ChunkProviderChemical(par1, par1.getSeed(), par1.getWorldInfo().isMapFeaturesEnabled());
20         }
21
22         public int getSeaLevel(World par1) {
23                 return 64;
24         }
25
26         public boolean hasVoidParticles(boolean var1) {
27                 return false;
28         }
29
30         public double voidFadeMagnitude() {
31                 return 1.0D;
32         }
33
34 }