User Tools

Site Tools


tutorial:biome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorial:biome [2019/07/14 21:47]
valoeghese fix incorrect code :tiny_potato:
tutorial:biome [2020/03/26 06:25] (current)
valoeghese 1.15.2
Line 43: Line 43:
         super(new Biome.Settings().configureSurfaceBuilder(SurfaceBuilder.DEFAULT,​ SurfaceBuilder.GRASS_CONFIG).precipitation(Biome.Precipitation.RAIN).category(Biome.Category.PLAINS).depth(0.24F).scale(0.2F).temperature(0.6F).downfall(0.7F).waterColor(4159204).waterFogColor(329011).parent((String)null));​         super(new Biome.Settings().configureSurfaceBuilder(SurfaceBuilder.DEFAULT,​ SurfaceBuilder.GRASS_CONFIG).precipitation(Biome.Precipitation.RAIN).category(Biome.Category.PLAINS).depth(0.24F).scale(0.2F).temperature(0.6F).downfall(0.7F).waterColor(4159204).waterFogColor(329011).parent((String)null));​
         ​         ​
-        this.addStructureFeature(Feature.MINESHAFTnew MineshaftFeatureConfig(0.004D,​ MineshaftFeature.Type.NORMAL));​ +        this.addStructureFeature(Feature.MINESHAFT.configure(new MineshaftFeatureConfig(0.004D,​ MineshaftFeature.Type.NORMAL))); 
-        this.addStructureFeature(Feature.STRONGHOLDFeatureConfig.DEFAULT);​ +        this.addStructureFeature(Feature.STRONGHOLD.configure(FeatureConfig.DEFAULT)); 
-        this.addStructureFeature(Feature.VILLAGEnew VillageFeatureConfig("​village/​plains/​town_centers",​ 6));+        this.addStructureFeature(Feature.VILLAGE.configure(new VillageFeatureConfig("​village/​plains/​town_centers",​ 6)));
         DefaultBiomeFeatures.addLandCarvers(this);​         DefaultBiomeFeatures.addLandCarvers(this);​
         DefaultBiomeFeatures.addDefaultStructures(this);​         DefaultBiomeFeatures.addDefaultStructures(this);​
tutorial/biome.1563140828.txt.gz · Last modified: 2019/07/14 21:47 by valoeghese