pick 97420a31d The big reformat of 2020
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
package appeng.spatial;
|
||||
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IWorldReader;
|
||||
import net.minecraft.world.biome.Biome;
|
||||
@@ -26,30 +25,19 @@ import net.minecraft.world.gen.surfacebuilders.SurfaceBuilder;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
|
||||
public class StorageCellBiome extends Biome {
|
||||
|
||||
public class StorageCellBiome extends Biome
|
||||
{
|
||||
public static final StorageCellBiome INSTANCE = new StorageCellBiome();
|
||||
|
||||
public static final StorageCellBiome INSTANCE = new StorageCellBiome();
|
||||
static {
|
||||
INSTANCE.setRegistryName("appliedenergistics2:storage");
|
||||
}
|
||||
|
||||
static {
|
||||
INSTANCE.setRegistryName("appliedenergistics2:storage");
|
||||
}
|
||||
|
||||
public StorageCellBiome()
|
||||
{
|
||||
super( new Biome.Builder()
|
||||
.surfaceBuilder(SurfaceBuilder.NOPE, SurfaceBuilder.STONE_STONE_GRAVEL_CONFIG)
|
||||
.precipitation(RainType.NONE)
|
||||
.category(Category.NONE)
|
||||
.depth(0)
|
||||
.scale(1)
|
||||
// Copied from the vanilla void biome
|
||||
.temperature(0.5F)
|
||||
.downfall(0.5F)
|
||||
.waterColor(4159204)
|
||||
.waterFogColor(329011)
|
||||
.parent(null) );
|
||||
public StorageCellBiome() {
|
||||
super(new Biome.Builder().surfaceBuilder(SurfaceBuilder.NOPE, SurfaceBuilder.STONE_STONE_GRAVEL_CONFIG)
|
||||
.precipitation(RainType.NONE).category(Category.NONE).depth(0).scale(1)
|
||||
// Copied from the vanilla void biome
|
||||
.temperature(0.5F).downfall(0.5F).waterColor(4159204).waterFogColor(329011).parent(null));
|
||||
// FIXME this.decorator.treesPerChunk = 0;
|
||||
// FIXME this.decorator.flowersPerChunk = 0;
|
||||
// FIXME this.decorator.grassPerChunk = 0;
|
||||
@@ -58,26 +46,26 @@ public class StorageCellBiome extends Biome
|
||||
// FIXME this.spawnableCreatureList.clear();
|
||||
// FIXME this.spawnableWaterCreatureList.clear();
|
||||
// FIXME this.spawnableCaveCreatureList.clear();
|
||||
}
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public int getSkyColor() {
|
||||
return 0x111111;
|
||||
}
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public int getSkyColor() {
|
||||
return 0x111111;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos pos) {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos pos) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos water, boolean mustBeAtEdge) {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos water, boolean mustBeAtEdge) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesSnowGenerate(IWorldReader worldIn, BlockPos pos) {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean doesSnowGenerate(IWorldReader worldIn, BlockPos pos) {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user