mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Improve cocoons
This commit is contained in:
1 parent
46bb2cdccd
commit
fdd6d75d0e
4 files changed
+17
-14
No files matched your search
@@ -14,6 +14,7 @@ import forestry.api.genetics.ISpeciesRoot;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IButterflyRoot extends ISpeciesRoot {
|
||||
@@ -52,7 +53,7 @@ public interface IButterflyRoot extends ISpeciesRoot {
|
||||
*/
|
||||
EntityLiving spawnButterflyInWorld(World world, IButterfly butterfly, double x, double y, double z);
|
||||
|
||||
boolean plantCocoon(World world, IButterflyNursery nursery, GameProfile owner, int age);
|
||||
BlockPos plantCocoon(World world, IButterflyNursery nursery, GameProfile owner, int age);
|
||||
|
||||
/**
|
||||
* @return true if passed item is mated.
|
||||
|
||||
Reference in new issue
Block a user