Add cocoon world genartion with config entry(default false) and add cocoon loot and a greenhouse butterfly hatch

This commit is contained in:
Nedelosk committed 2016-03-30 00:48:19 +02:00
1 parent bc0d105730
commit cf23644f45
35 files changed
+748 -61

No files matched your search

@@ -8,6 +8,8 @@ package forestry.api.multiblock;
import forestry.api.core.IClimateControlled;
import forestry.api.greenhouse.IGreenhouseHousing;
import forestry.api.greenhouse.IGreenhouseListener;
import forestry.api.lepidopterology.IButterflyCocoon;
import net.minecraft.item.ItemStack;
public interface IGreenhouseComponent<T extends IMultiblockLogicGreenhouse> extends IMultiblockComponent {
@Override
@@ -23,6 +25,10 @@ public interface IGreenhouseComponent<T extends IMultiblockLogicGreenhouse> exte
interface Climatiser extends IGreenhouseComponent {
<G extends IGreenhouseController & IGreenhouseHousing & IClimateControlled> void changeClimate(int tickCount, G greenhouse);
}
interface ButterflyHatch extends IGreenhouseComponent {
ItemStack[] addCocoonLoot(IButterflyCocoon cocoon);
}
interface Active extends IGreenhouseComponent {
void updateServer(int tickCount);