@@ -27,7 +27,7 @@
|
||||
WorldGenFeatureConfigured<?, ?> worldgenfeatureconfigured = (WorldGenFeatureConfigured) holder.value();
|
||||
IBlockData iblockdata1 = worldserver.getFluidState(blockposition).createLegacyBlock();
|
||||
|
||||
@@ -65,4 +72,53 @@
|
||||
@@ -65,4 +72,55 @@
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -75,6 +75,8 @@
|
||||
+ BlockSapling.treeType = TreeType.MANGROVE;
|
||||
+ } else if (worldgentreeabstract == TreeFeatures.TALL_MANGROVE) {
|
||||
+ BlockSapling.treeType = TreeType.TALL_MANGROVE;
|
||||
+ } else if (worldgentreeabstract == TreeFeatures.CHERRY || worldgentreeabstract == TreeFeatures.CHERRY_BEES_005) {
|
||||
+ BlockSapling.treeType = TreeType.CHERRY;
|
||||
+ } else {
|
||||
+ throw new IllegalArgumentException("Unknown tree generator " + worldgentreeabstract);
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user