BloodMagic/BM_src/forestry/api/world/ITreeGenData.java

19 lines
430 B
Java
Raw Normal View History

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);
}