mirror of
https://github.com/GTNewHorizons/Hardcore-Ender-Expansion.git
synced 2026-10-26 14:24:03 +00:00
Moar progress on islandgen
This commit is contained in:
1 parent
3a381ce2fd
commit
dfa84c13b9
4 files changed
+19
-12
No files matched your search
@@ -33,15 +33,6 @@ public class IslandBiomeBurningMountains extends IslandBiomeBase{
|
||||
else if (data.content == MINE)decorator.genMine();
|
||||
}
|
||||
|
||||
// TODO
|
||||
/*@Override
|
||||
public void decorateIsland(World world, Random rand, int centerX, int bottomY, int centerZ){
|
||||
|
||||
|
||||
if (rand.nextInt(5) <= 1)new StructureMountainResourcePit().generateInWorld(world,rand,centerX,bottomY,centerZ,this);
|
||||
new StructureMountainPuzzle().generateInWorld(world,rand,centerX,bottomY,centerZ,this);
|
||||
}*/
|
||||
|
||||
@Override
|
||||
public float getIslandSurfaceHeightMultiplier(){
|
||||
return data.content == SCORCHING ? 7F : 8F;
|
||||
|
||||
+6
-1
@@ -4,6 +4,7 @@ import chylex.hee.block.BlockEndstoneTerrain;
|
||||
import chylex.hee.entity.mob.EntityMobBabyEnderman;
|
||||
import chylex.hee.entity.mob.EntityMobEnderGuardian;
|
||||
import chylex.hee.mechanics.knowledge.data.KnowledgeRegistration;
|
||||
import chylex.hee.world.structure.island.biome.data.BiomeContentVariation;
|
||||
import chylex.hee.world.structure.island.biome.decorator.BiomeDecoratorEnchantedIsland;
|
||||
import chylex.hee.world.structure.island.biome.decorator.IslandBiomeDecorator;
|
||||
import chylex.hee.world.structure.util.pregen.LargeStructureWorld;
|
||||
@@ -14,6 +15,8 @@ public class IslandBiomeEnchantedIsland extends IslandBiomeBase{
|
||||
TALL_PILLARS, LARGE_LAKES
|
||||
}*/
|
||||
|
||||
public static final BiomeContentVariation HOMELAND = new BiomeContentVariation(6);
|
||||
|
||||
private final BiomeDecoratorEnchantedIsland decorator = new BiomeDecoratorEnchantedIsland();
|
||||
|
||||
protected IslandBiomeEnchantedIsland(int biomeID, KnowledgeRegistration knowledgeRegistration){
|
||||
@@ -24,7 +27,9 @@ public class IslandBiomeEnchantedIsland extends IslandBiomeBase{
|
||||
|
||||
// TODO
|
||||
@Override
|
||||
protected void decorate(LargeStructureWorld world, Random rand, int centerX, int centerZ){}
|
||||
protected void decorate(LargeStructureWorld world, Random rand, int centerX, int centerZ){
|
||||
if (data.content == HOMELAND)decorator.genHomeland();
|
||||
}
|
||||
|
||||
/*@Override
|
||||
public void decorateIsland(World world, Random rand, int centerX, int bottomY, int centerZ){
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import chylex.hee.world.structure.island.feature.StructureMountainIgneousOre;
|
||||
|
||||
public class BiomeDecoratorBurningMountains extends IslandBiomeDecorator{
|
||||
private static IslandBiomeBase getBiome(){
|
||||
return IslandBiomeBase.infestedForest;
|
||||
return IslandBiomeBase.burningMountains;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+12
-1
@@ -1,5 +1,16 @@
|
||||
package chylex.hee.world.structure.island.biome.decorator;
|
||||
import chylex.hee.world.structure.island.biome.IslandBiomeBase;
|
||||
|
||||
public class BiomeDecoratorEnchantedIsland extends IslandBiomeDecorator{
|
||||
|
||||
private static IslandBiomeBase getBiome(){
|
||||
return IslandBiomeBase.enchantedIsland;
|
||||
}
|
||||
|
||||
/*
|
||||
* HOMELAND
|
||||
*/
|
||||
|
||||
public void genHomeland(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user