mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 11:29:23 +00:00
Work on extra trees
This commit is contained in:
1 parent
192943cb3e
commit
f0d8d6b89d
53 files changed
+1636
-987
No files matched your search
@@ -1,13 +1,13 @@
|
||||
package binnie.extratrees.gen;
|
||||
|
||||
import forestry.api.arboriculture.ITree;
|
||||
import forestry.api.world.ITreeGenData;
|
||||
|
||||
public class WorldGenShrub {
|
||||
public static class Shrub extends WorldGenTree {
|
||||
public Shrub(final ITree tree) {
|
||||
public static class Shrub extends WorldGenTree{
|
||||
public Shrub(ITreeGenData tree) {
|
||||
super(tree);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void generate() {
|
||||
float leafSpawn = this.height;
|
||||
@@ -30,13 +30,12 @@ public class WorldGenShrub {
|
||||
this.generateCylinder(new Vector(f3, h3, 0.0f), width, 1, this.leaf, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void preGenerate() {
|
||||
this.minHeight = 1;
|
||||
this.height = this.determineHeight(1, 1);
|
||||
this.girth = this.determineGirth(this.treeGen.getGirth());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user