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

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