Mosses, fixes
This commit is contained in:
parent
4eb7105e33
commit
72b173a9e3
28 changed files with 354 additions and 53 deletions
|
@ -51,7 +51,7 @@ public class MossyGlowshroomFeature extends DefaultFeature {
|
|||
|
||||
@Override
|
||||
public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, DefaultFeatureConfig featureConfig) {
|
||||
blockPos = getTopPos(world, blockPos);
|
||||
blockPos = getPosOnSurface(world, blockPos);
|
||||
if (blockPos.getY() < 5) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue