BloodMagic/BM_src/forestry/api/world/ITreeGenData.java
2014-01-25 20:36:28 -05:00

19 lines
430 B
Java

package forestry.api.world;
import net.minecraft.world.World;
public interface ITreeGenData {
int getGirth(World world, int x, int y, int z);
float getHeightModifier();
boolean canGrow(World world, int x, int y, int z, int expectedGirth, int expectedHeight);
void setLeaves(World world, String owner, int x, int y, int z);
boolean allowsFruitBlocks();
boolean trySpawnFruitBlock(World world, int x, int y, int z);
}