Get things compiling.

Move ForestryAPI into the Forestry project instead of as a submodule
Include the new RF API
Remove code for mods that have not yet ported to 1.8.9 (add it back later)
Bump version to 5.0.0
This commit is contained in:
mezz committed 2016-02-20 19:51:49 -08:00
1 parent 73812d8765
commit 8da0c0dc95
325 files changed
+9600 -4026

No files matched your search

@@ -0,0 +1,34 @@
/*******************************************************************************
* Copyright 2011-2014 SirSengir
*
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
package forestry.api.world;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.world.World;
import com.mojang.authlib.GameProfile;
import forestry.api.arboriculture.ITreeGenome;
public interface ITreeGenData {
int getGirth(World world, BlockPos pos);
float getHeightModifier();
boolean canGrow(World world, BlockPos pos, int expectedGirth, int expectedHeight);
void setLeaves(World world, GameProfile owner, BlockPos pos);
void setLeavesDecorative(World world, GameProfile owner, BlockPos pos);
void setLogBlock(World world, BlockPos pos, EnumFacing facing);
boolean allowsFruitBlocks();
boolean trySpawnFruitBlock(World world, BlockPos pos);
ITreeGenome getGenome();
}
@@ -0,0 +1,9 @@
/*******************************************************************************
* Copyright 2011-2014 SirSengir
*
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
@API(apiVersion="2.1.0", owner="ForestryAPI|core", provides="ForestryAPI|world")
package forestry.api.world;
import net.minecraftforge.fml.common.API;