package micdoodle8.mods.galacticraft.core.tile;
import java.util.List;
import micdoodle8.mods.galacticraft.core.blocks.BlockMulti;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ITickable;
import net.minecraft.world.World;
public interface IMultiBlock extends ITickable
{
/**
* Called when activated
*/
boolean onActivated(EntityPlayer entityPlayer);
/**
* Called when this multiblock is created
*
* @param placedPosition - The position the block was placed at
*/
void onCreate(World world, BlockPos placedPosition);
/**
* Called when one of the multiblocks of this block is destroyed
*
* @param callingBlock - The tile entity who called the onDestroy function
*/
void onDestroy(TileEntity callingBlock);
void getPositions(BlockPos placedPosition, List<BlockPos> positions);
BlockMulti.EnumBlockMultiType getMultiType();
}