Fixes & improvements
This commit is contained in:
parent
3e1dad0694
commit
31331c2007
4 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,7 @@ public class EndFeatures {
|
||||||
|
|
||||||
// Wall Plants //
|
// Wall Plants //
|
||||||
public static final EndFeature PURPLE_POLYPORE = new EndFeature("purple_polypore", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3), 5);
|
public static final EndFeature PURPLE_POLYPORE = new EndFeature("purple_polypore", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3), 5);
|
||||||
|
public static final EndFeature PURPLE_POLYPORE_DENSE = new EndFeature("purple_polypore_dense", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 5), 15);
|
||||||
|
|
||||||
// Water //
|
// Water //
|
||||||
public static final EndFeature BUBBLE_CORAL = new EndFeature("bubble_coral", new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 10), 10);
|
public static final EndFeature BUBBLE_CORAL = new EndFeature("bubble_coral", new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 10), 10);
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class BiomeChorusForest extends EndBiome {
|
||||||
.addFeature(EndFeatures.END_LAKE_RARE)
|
.addFeature(EndFeatures.END_LAKE_RARE)
|
||||||
.addFeature(EndFeatures.PYTHADENDRON_TREE)
|
.addFeature(EndFeatures.PYTHADENDRON_TREE)
|
||||||
.addFeature(EndFeatures.PYTHADENDRON_BUSH)
|
.addFeature(EndFeatures.PYTHADENDRON_BUSH)
|
||||||
.addFeature(EndFeatures.PURPLE_POLYPORE)
|
.addFeature(EndFeatures.PURPLE_POLYPORE_DENSE)
|
||||||
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
||||||
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
||||||
.addFeature(EndFeatures.CHORUS_GRASS)
|
.addFeature(EndFeatures.CHORUS_GRASS)
|
||||||
|
|
|
@ -37,7 +37,7 @@ public abstract class WallScatterFeature extends DefaultFeature {
|
||||||
mut.setY(py + y);
|
mut.setY(py + y);
|
||||||
for (int z = -radius; z <= radius; z++) {
|
for (int z = -radius; z <= radius; z++) {
|
||||||
mut.setZ(center.getZ() + z);
|
mut.setZ(center.getZ() + z);
|
||||||
if (random.nextInt(8) == 0) {
|
if (random.nextInt(8) == 0 && world.isAir(mut)) {
|
||||||
shuffle(random);
|
shuffle(random);
|
||||||
for (Direction dir: DIR) {
|
for (Direction dir: DIR) {
|
||||||
if (canGenerate(world, random, mut, dir)) {
|
if (canGenerate(world, random, mut, dir)) {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue