Custom rubber tree generation algorithm, tress now spawn with sap, and they dont clip other tress. They also have a spike
This commit is contained in:
parent
aad0da93cc
commit
b9f3d9c60a
4 changed files with 160 additions and 22 deletions
|
@ -8,6 +8,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
import techreborn.world.RubberTreeGenerator;
|
||||
import techreborn.world.TreeGenerator;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -30,7 +31,7 @@ public class BlockRubberSapling extends BlockSapling {
|
|||
return;
|
||||
}
|
||||
worldIn.setBlockToAir(pos);
|
||||
TreeGenerator.treeGenerator.generate(worldIn, rand, pos);
|
||||
new RubberTreeGenerator(false).generate(worldIn, rand, pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue