mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Improve cocoon positions
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user