Add cocoons and fix bugs

This commit is contained in:
Nedelosk committed 2016-03-26 00:50:51 +01:00
1 parent c4f447aa67
commit 5b42b5fbae
37 files changed
+831 -54

No files matched your search

@@ -53,6 +53,8 @@ public interface IButterflyRoot extends ISpeciesRoot {
* @return butterfly entity on success, null otherwise.
*/
EntityLiving spawnButterflyInWorld(World world, IButterfly butterfly, double x, double y, double z);
boolean plantCocoon(World world, IButterflyNursery nursery, GameProfile owner);
/**
* @return true if passed item is mated.