mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-26 15:03:14 +00:00
start 1.10.2
This commit is contained in:
1 parent
f969f63b66
commit
6a7c4bf67d
826 files changed
+60550
-63758
No files matched your search
@@ -1,32 +1,28 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.extratrees.gen;
|
||||
|
||||
import forestry.api.world.ITreeGenData;
|
||||
|
||||
public class WorldGenBanana extends WorldGenTree
|
||||
{
|
||||
public WorldGenBanana(final ITreeGenData tree) {
|
||||
super(tree);
|
||||
}
|
||||
public class WorldGenBanana extends WorldGenTree {
|
||||
public WorldGenBanana(final ITreeGenData tree) {
|
||||
super(tree);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void generate() {
|
||||
this.bushiness = 0.9f;
|
||||
this.generateTreeTrunk(this.height, this.girth);
|
||||
int leafSpawn = this.height + 1;
|
||||
final float width = this.height / this.randBetween(1.8f, 2.0f);
|
||||
final int bottom = this.randBetween(3, 4);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), 0.4f * width, 1, this.leaf, false);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), width, 1, this.leaf, false);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), 0.9f * width, 1, this.leaf, false);
|
||||
}
|
||||
@Override
|
||||
public void generate() {
|
||||
this.bushiness = 0.9f;
|
||||
this.generateTreeTrunk(this.height, this.girth);
|
||||
int leafSpawn = this.height + 1;
|
||||
final float width = this.height / this.randBetween(1.8f, 2.0f);
|
||||
final int bottom = this.randBetween(3, 4);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), 0.4f * width, 1, this.leaf, false);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), width, 1, this.leaf, false);
|
||||
this.generateCylinder(new Vector(0.0f, leafSpawn--, 0.0f), 0.9f * width, 1, this.leaf, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void preGenerate() {
|
||||
this.height = this.determineHeight(6, 1);
|
||||
this.girth = this.determineGirth(this.treeGen.getGirth());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void preGenerate() {
|
||||
this.height = this.determineHeight(6, 1);
|
||||
this.girth = this.determineGirth(this.treeGen.getGirth(this.world, this.startX, this.startY, this.startZ));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user