Improve cocoon positions

This commit is contained in:
Nedelosk committed 2017-03-06 16:45:08 +01:00
1 parent ced6f3cbf2
commit 84f01de7f9
8 files changed
+63 -96

No files matched your search

@@ -10,8 +10,6 @@
******************************************************************************/
package forestry.api.lepidopterology;
import javax.annotation.Nullable;
import forestry.api.genetics.IHousing;
public interface IButterflyCocoon extends IHousing {
@@ -20,11 +18,6 @@ public interface IButterflyCocoon extends IHousing {
void setCaterpillar(IButterfly butterfly);
@Nullable
IButterflyNursery getNursery();
void setNursery(IButterflyNursery nursery);
boolean isSolid();
}
@@ -53,7 +53,7 @@ public interface IButterflyRoot extends ISpeciesRoot {
*/
EntityLiving spawnButterflyInWorld(World world, IButterfly butterfly, double x, double y, double z);
BlockPos plantCocoon(World world, IButterflyNursery nursery, GameProfile owner, int age);
BlockPos plantCocoon(World world, BlockPos pos, IButterfly caterpillar, GameProfile owner, int age, boolean createNursery);
/**
* @return true if passed item is mated.