More plants
This commit is contained in:
parent
0f36f048ea
commit
591d015f90
14 changed files with 132 additions and 4 deletions
|
@ -23,6 +23,7 @@ public class BiomeShadowForest extends EndBiome {
|
|||
.addFeature(EndFeatures.SHADOW_PLANT)
|
||||
.addFeature(EndFeatures.MURKWEED)
|
||||
.addFeature(EndFeatures.NEEDLEGRASS)
|
||||
.addFeature(EndFeatures.TWISTED_VINE)
|
||||
.addStructureFeature(ConfiguredStructureFeatures.END_CITY)
|
||||
.addMobSpawn(EntityType.ENDERMAN, 80, 1, 4)
|
||||
.addMobSpawn(EntityType.PHANTOM, 1, 1, 2));
|
||||
|
|
|
@ -31,7 +31,7 @@ public abstract class InvertedScatterFeature extends DefaultFeature {
|
|||
POS.set(center.getX(), y, center.getZ());
|
||||
if (world.getBlockState(POS).isAir() && !world.getBlockState(POS.up()).isAir()) {
|
||||
float r = MHelper.randRange(radius * 0.5F, radius, random);
|
||||
int count = MHelper.floor(r * r * MHelper.randRange(1.5F, 3F, random));
|
||||
int count = MHelper.floor(r * r * MHelper.randRange(0.5F, 1.5F, random));
|
||||
for (int i = 0; i < count; i++) {
|
||||
float pr = r * (float) Math.sqrt(random.nextFloat());
|
||||
float theta = random.nextFloat() * MHelper.PI2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue