mapping
This commit is contained in:
1 parent
9035dd08c6
commit
6de85769e9
2 files changed
+8
-8
No files matched your search
@@ -35,7 +35,7 @@ import net.minecraft.world.gen.feature.ShipwreckFeatureConfig;
|
||||
import net.minecraft.world.gen.feature.StructureFeature;
|
||||
import net.minecraft.world.gen.feature.VillageFeatureConfig;
|
||||
import net.minecraft.world.gen.foliage.BlobFoliagePlacer;
|
||||
import net.minecraft.world.gen.stateprovider.SimpleStateProvider;
|
||||
import net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
@@ -206,7 +206,7 @@ public class FeatureGenerator
|
||||
put("village_savanna", gridCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/savanna/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_taiga", gridCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/taiga/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_snowy", gridCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/snowy/town_centers", 6), Biomes.PLAINS));
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.field_22190)::gridAnywhere);
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.NETHER_FOSSIL)::gridAnywhere);
|
||||
|
||||
}};
|
||||
|
||||
@@ -216,8 +216,8 @@ public class FeatureGenerator
|
||||
put("oak", simpleTree(DefaultBiomeFeatures.OAK_TREE_CONFIG));
|
||||
put("oak_beehive", simpleTree(
|
||||
(new BranchedTreeFeatureConfig.Builder(
|
||||
new SimpleStateProvider(Blocks.OAK_LOG.getDefaultState()),
|
||||
new SimpleStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
|
||||
new SimpleBlockStateProvider(Blocks.OAK_LOG.getDefaultState()),
|
||||
new SimpleBlockStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
|
||||
new BlobFoliagePlacer(2, 0))
|
||||
).baseHeight(4).heightRandA(2).foliageHeight(3).noVines()
|
||||
.treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build()
|
||||
@@ -225,8 +225,8 @@ public class FeatureGenerator
|
||||
put("oak_large", simplePlop(Feature.FANCY_TREE.configure(DefaultBiomeFeatures.FANCY_TREE_CONFIG)));
|
||||
put("oak_large_beehive", simplePlop(Feature.FANCY_TREE.configure(
|
||||
(new BranchedTreeFeatureConfig.Builder(
|
||||
new SimpleStateProvider(Blocks.OAK_LOG.getDefaultState()),
|
||||
new SimpleStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
|
||||
new SimpleBlockStateProvider(Blocks.OAK_LOG.getDefaultState()),
|
||||
new SimpleBlockStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
|
||||
new BlobFoliagePlacer(0, 0))
|
||||
).treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build()
|
||||
)));
|
||||
@@ -331,7 +331,7 @@ public class FeatureGenerator
|
||||
put("village_savanna", spawnCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/savanna/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_taiga", spawnCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/taiga/town_centers", 6), Biomes.PLAINS));
|
||||
put("village_snowy", spawnCustomStructure(Feature.VILLAGE, new VillageFeatureConfig("village/snowy/town_centers", 6), Biomes.PLAINS));
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.field_22190)::plopAnywhere);
|
||||
put("nether_fossil", ((StructureFeatureInterface)Feature.NETHER_FOSSIL)::plopAnywhere);
|
||||
}};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user