mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
29 lines
816 B
Java
29 lines
816 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.climate;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
|
|
|
import forestry.api.circuits.ICircuit;
|
|
import forestry.api.core.ILocatable;
|
|
|
|
public interface IClimateSourceOwner extends ILocatable {
|
|
IClimateSource getClimateSource();
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
ItemStack getItemStack();
|
|
|
|
boolean isActive();
|
|
|
|
/**
|
|
* @return true if this climate source owner can hold a {@link ICircuit}
|
|
*/
|
|
boolean isCircuitable();
|
|
}
|