Set default amountPerChunk for giant mushrooms
This commit is contained in:
parent
c2fd292ba7
commit
bba5f1fb84
1 changed files with 2 additions and 1 deletions
|
@ -97,6 +97,7 @@ public class GeneratorBigMushroom extends BOPGeneratorBase
|
|||
|
||||
public Builder()
|
||||
{
|
||||
this.amountPerChunk = 1.0F;
|
||||
this.mushroomType = BigMushroomType.BROWN;
|
||||
this.placeOn = BlockQueries.fertile;
|
||||
this.replace = BlockQueries.airOrLeaves;
|
||||
|
@ -173,7 +174,7 @@ public class GeneratorBigMushroom extends BOPGeneratorBase
|
|||
{
|
||||
|
||||
int height = rand.nextInt(3) + 5;
|
||||
|
||||
|
||||
// check that there's room
|
||||
if (!this.isEnoughSpace(world, pos, height)) {return false;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue