Add missing files

This commit is contained in:
Nedelosk committed 2016-03-18 23:56:20 +01:00
1 parent a0fb568144
commit 252a08f416
7 files changed
+37 -7

No files matched your search

@@ -4,16 +4,20 @@
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
package forestry.api.core;
import forestry.core.tiles.ILocatable;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
public interface ICamouflageHandler extends ILocatable {
public interface ICamouflageHandler{
ItemStack getCamouflageBlock(EnumCamouflageType type);
ItemStack getDefaultCamouflageBlock(EnumCamouflageType type);
void setCamouflageBlock(EnumCamouflageType type, ItemStack camouflageBlock);
BlockPos getCoordinates();
World getWorld();
}
@@ -5,10 +5,15 @@
******************************************************************************/
package forestry.api.core;
import forestry.core.tiles.ILocatable;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
public interface ICamouflagedBlock extends ILocatable {
public interface ICamouflagedBlock {
EnumCamouflageType getCamouflageType();
BlockPos getCoordinates();
World getWorld();
}
@@ -12,6 +12,8 @@ public class GreenhouseManager {
public static IGreenhouseAccess greenhouseAccess;
public static IGreenhouseHelper greenhouseHelper;
public static List<Class<? extends IGreenhouseLogic>> greenhouseLogics = new ArrayList();
}
@@ -5,13 +5,22 @@
******************************************************************************/
package forestry.api.greenhouse;
import forestry.api.core.EnumHumidity;
import forestry.api.core.EnumTemperature;
import forestry.api.core.IErrorLogicSource;
import forestry.core.tiles.IClimatised;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
public interface IGreenhouseHousing extends IErrorLogicSource, IClimatised {
public interface IGreenhouseHousing extends IErrorLogicSource {
EnumTemperature getTemperature();
EnumHumidity getHumidity();
float getExactTemperature();
float getExactHumidity();
World getWorld();
boolean isInGreenhouse(BlockPos pos);