Permalink
Browse files

Biome registry names need to be set sooner.

  • Loading branch information...
Ri5ux committed Oct 24, 2018
1 parent f453a77 commit be60937a0deb73c77348e64acc74faa119d95172
@@ -37,9 +37,9 @@
@SubscribeEvent
public static void registerBiomes(final RegistryEvent.Register<Biome> event)
{
event.getRegistry().register(BiomeAcheron.acheron.setRegistryName(AliensVsPredator.Properties.ID, "acheron"));
event.getRegistry().register(BiomeVarda.vardaBadlands.setRegistryName(AliensVsPredator.Properties.ID, "vardabadlands"));
event.getRegistry().register(BiomeVarda.vardaForest.setRegistryName(AliensVsPredator.Properties.ID, "vardaforest"));
event.getRegistry().register(BiomeAcheron.acheron);
event.getRegistry().register(BiomeVarda.vardaBadlands);
event.getRegistry().register(BiomeVarda.vardaForest);
}
}
@@ -16,7 +16,7 @@
public class BiomeAcheron extends BiomeGenLV
{
public static final BiomeAcheron acheron = new BiomeAcheron(new BiomeProperties("Acheron").setBaseHeight(0.1F).setHeightVariation(0.4F).setTemperature(0.5F).setRainDisabled());
public static final BiomeAcheron acheron = (BiomeAcheron) new BiomeAcheron(new BiomeProperties("Acheron").setBaseHeight(0.1F).setHeightVariation(0.4F).setTemperature(0.5F).setRainDisabled()).setRegistryName(AliensVsPredator.Properties.ID, "acheron");
public BiomeAcheron(BiomeProperties properties)
{
@@ -29,8 +29,8 @@
public class BiomeVarda extends BiomeGenLV
{
public static BiomeVarda vardaBadlands = new BiomeVarda(new BiomeProperties(AliensVsPredator.dimensions().BIOME_NAME_VARDA_BADLANDS).setBaseHeight(1.0F).setHeightVariation(2.0F).setRainDisabled().setWaterColor(0xFFFF66));
public static BiomeVarda vardaForest = new BiomeVarda(new BiomeProperties(AliensVsPredator.dimensions().BIOME_NAME_VARDA_FOREST).setBaseHeight(1.0F).setHeightVariation(8.0F).setTemperature(0.7F).setRainfall(0.1F).setWaterColor(0xFFFF66));
public static BiomeVarda vardaBadlands = (BiomeVarda) new BiomeVarda(new BiomeProperties(AliensVsPredator.dimensions().BIOME_NAME_VARDA_BADLANDS).setBaseHeight(1.0F).setHeightVariation(2.0F).setRainDisabled().setWaterColor(0xFFFF66)).setRegistryName(AliensVsPredator.Properties.ID, "vardabadlands");
public static BiomeVarda vardaForest = (BiomeVarda) new BiomeVarda(new BiomeProperties(AliensVsPredator.dimensions().BIOME_NAME_VARDA_FOREST).setBaseHeight(1.0F).setHeightVariation(8.0F).setTemperature(0.7F).setRainfall(0.1F).setWaterColor(0xFFFF66)).setRegistryName(AliensVsPredator.Properties.ID, "vardaforest");
public BiomeVarda(BiomeProperties properties)
{

0 comments on commit be60937

Please sign in to comment.